Disable -Zfunction-sections by default on Windows #1554
Merged
Cirrus CI / freebsd
failed
Jan 14, 2025 in 2m 39s
Task Summary
Instruction test failed in 01:41
Details
✅ 00:02 clone
✅ 00:14 setup_rust
✅ 00:07 target
✅ 00:30 prepare
❌ 01:41 test
|
505 | CPlaceInner::Addr(_, Some(_)) => bug!("Expected sized cplace, found {:?}", self),
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:507:17
|
507 | bug!("Expected CPlace::Addr, found {:?}", self)
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:517:17
|
517 | bug!("Expected unsized cplace, found {:?}", self)
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:526:46
|
526 | CPlaceInner::Addr(_, Some(_)) => bug!("Expected sized cplace, found {:?}", self),
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:639:46
|
639 | CPlaceInner::Addr(_, Some(_)) => bug!("Can't write value to unsized place {:?}", self),
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:662:29
|
662 | ... bug!(
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:744:17
|
744 | bug!("Expected CPlace::Addr, found {:?}", self)
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:821:56
|
821 | | CPlaceInner::VarPair(_, _, _) => bug!("Can't index into {self:?}"),
| ^^^
error: cannot find macro `bug` in this scope
--> src/value_and_place.rs:825:18
|
825 | _ => bug!("place_index({:?})", self.layout().ty),
| ^^^
Some errors have detailed explanations: E0432, E0463.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `rustc_codegen_cranelift` (lib) due to 64 previous errors
CARGO_ENCODED_RUSTDOCFLAGS="" CARGO_ENCODED_RUSTFLAGS="-Zallow-features=rustc_private" RUSTC="/.rustup/toolchains/nightly-2025-01-10-x86_64-unknown-freebsd/bin/rustc" RUSTDOC="/.rustup/toolchains/nightly-2025-01-10-x86_64-unknown-freebsd/bin/rustdoc" "/.rustup/toolchains/nightly-2025-01-10-x86_64-unknown-freebsd/bin/cargo" "build" "--manifest-path" "/tmp/cirrus-ci-build/./Cargo.toml" "--target-dir" "/tmp/cirrus-ci-build/./build/cg_clif" "--locked" "--target" "x86_64-unknown-freebsd" "--features" "unstable-features" "--release" exited with status ExitStatus(unix_wait_status(25856))
Loading