Skip to content

Commit 10e6d6c

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 aed02c5 + 8619841 commit 10e6d6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tests/run-make/duplicate-profiler-builtins

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)