File tree 2 files changed +1
-9
lines changed
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -330,14 +330,6 @@ impl<'a> TestRunner<'a> {
330
330
target_compiler. rustflags . extend ( rustflags_from_env ( "RUSTFLAGS" ) ) ;
331
331
target_compiler. rustdocflags . extend ( rustflags_from_env ( "RUSTDOCFLAGS" ) ) ;
332
332
333
- // FIXME fix `#[linkage = "extern_weak"]` without this
334
- if target_compiler. triple . contains ( "darwin" ) {
335
- target_compiler. rustflags . extend ( [
336
- "-Clink-arg=-undefined" . to_owned ( ) ,
337
- "-Clink-arg=dynamic_lookup" . to_owned ( ) ,
338
- ] ) ;
339
- }
340
-
341
333
let jit_supported = use_unstable_features
342
334
&& is_native
343
335
&& target_compiler. triple . contains ( "x86_64" )
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ fn main() {
274
274
275
275
assert_eq ! ( ( ( |( ) | 42u8 ) as fn ( ( ) ) -> u8 ) ( ( ) ) , 42 ) ;
276
276
277
- #[ cfg( not( any( jit, windows) ) ) ]
277
+ #[ cfg( not( any( jit, target_vendor = "apple" , windows) ) ) ]
278
278
{
279
279
extern "C" {
280
280
#[ linkage = "extern_weak" ]
You can’t perform that action at this time.
0 commit comments