File tree 4 files changed +8
-1
lines changed
4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,11 @@ pub(super) fn handle_needs(
130
130
condition : config. git_hash ,
131
131
ignore_reason : "ignored when git hashes have been omitted for building" ,
132
132
} ,
133
+ Need {
134
+ name : "needs-dynamic-linking" ,
135
+ condition : config. target_cfg ( ) . dynamic_linking ,
136
+ ignore_reason : "ignored on targets without dynamic linking" ,
137
+ } ,
133
138
] ;
134
139
135
140
let ( name, comment) = match ln. split_once ( [ ':' , ' ' ] ) {
Original file line number Diff line number Diff line change 4
4
// aux-build:issue-12133-dylib2.rs
5
5
// ignore-emscripten no dylib support
6
6
// ignore-musl
7
- // ignore-sgx no dylib support
7
+ // needs-dynamic-linking
8
8
9
9
// pretty-expanded FIXME #23616
10
10
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 --crate-type dylib -Copt-level=0
2
2
// build-pass
3
3
// needs-profiler-support
4
+ // needs-dynamic-linking
4
5
5
6
// Regression test for #85461 where MSVC sometimes fails to link instrument-coverage binaries
6
7
// with dead code and #[inline(always)].
Original file line number Diff line number Diff line change 7
7
// build-pass
8
8
// force-host
9
9
// no-prefer-dynamic
10
+ // needs-dynamic-linking
10
11
11
12
#![ crate_type = "proc-macro" ]
12
13
You can’t perform that action at this time.
0 commit comments