Skip to content

Commit 754dbbe

Browse files
Rollup merge of rust-lang#155274 - tshepang:patch-1, r=lqd
limit duplicate-profiler-builtins test to targets that can do dynamic linking this is the error I got for an example of such a target ``` === STDERR === error: extern location for dylib_a does not exist: libdylib_a.so --> main.rs:2:5 | 2 | dylib_a::something(); | ^^^^^^^ error: extern location for dylib_b does not exist: libdylib_b.so --> main.rs:3:5 | 3 | dylib_b::something_else(); | ^^^^^^^
2 parents 3a32047 + 8619841 commit 754dbbe

File tree

1 file changed

+1
-0
lines changed
  • tests/run-make/duplicate-profiler-builtins

1 file changed

+1
-0
lines changed

tests/run-make/duplicate-profiler-builtins/rmake.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// together without getting an error about duplicate profiler_builtins.
33

44
//@ needs-profiler-runtime
5+
//@ needs-dynamic-linking
56

67
use run_make_support::{dynamic_lib_name, rustc};
78

0 commit comments

Comments
 (0)