File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1050,13 +1050,21 @@ fn decouple_proc_macro() {
1050
1050
#[ cargo_test]
1051
1051
fn proc_macro_ws ( ) {
1052
1052
// Checks for bug with proc-macro in a workspace with dependency (shouldn't panic).
1053
+ //
1054
+ // Note, debuginfo is explicitly requested here to preserve the intent of this non-regression
1055
+ // test: that will disable the debuginfo build dependencies optimization. Otherwise, it would
1056
+ // initially trigger when the crates are built independently, but rebuild them with debuginfo
1057
+ // when it sees the shared build/runtime dependency when checking the complete workspace.
1053
1058
let p = project ( )
1054
1059
. file (
1055
1060
"Cargo.toml" ,
1056
1061
r#"
1057
1062
[workspace]
1058
1063
members = ["foo", "pm"]
1059
1064
resolver = "2"
1065
+
1066
+ [profile.dev.build-override]
1067
+ debug = true
1060
1068
"# ,
1061
1069
)
1062
1070
. file (
You can’t perform that action at this time.
0 commit comments