Skip to content

Commit bfd759b

Browse files
committed
Add save-temps
1 parent 3dceadc commit bfd759b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cargo-features = ["profile-rustflags"]
2+
13
[workspace]
24
resolver = "1"
35
members = [
@@ -63,6 +65,11 @@ exclude = [
6365
"library/stdarch",
6466
]
6567

68+
[profile.release.package.rustc_mir_build]
69+
rustflags = [
70+
"-C", "save-temps",
71+
]
72+
6673
[profile.release.package.compiler_builtins]
6774
# The compiler-builtins crate cannot reference libcore, and it's own CI will
6875
# verify that this is the case. This requires, however, that the crate is built

0 commit comments

Comments
 (0)