You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using cargo fmt to format the following code causes the process to be aborted with one line error message: "memory allocation of <tons of> bytes failed":
// cfg-if: version 1.0.0
cfg_if::cfg_if! {if #[cfg(windows)]{
compile_error!{"..."};}}
rustc/cargo: 1.62.0
rustfmt: 1.4.38-stable
The text was updated successfully, but these errors were encountered:
caoweinian
changed the title
abort: memory allocation of <tons of> bytes failed
Aborted using cfg-if: memory allocation of <tons of> bytes failed
Jul 6, 2022
origin: https://internals.rust-lang.org/t/cargo-fmt-failed-with-infinite-memory-request/16950
Using
cargo fmt
to format the following code causes the process to be aborted with one line error message: "memory allocation of <tons of> bytes failed":rustc/cargo: 1.62.0
rustfmt: 1.4.38-stable
The text was updated successfully, but these errors were encountered: