File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -278,12 +278,14 @@ fn build_isa(sess: &Session, backend_config: &BackendConfig) -> Box<dyn isa::Tar
278
278
}
279
279
}
280
280
281
- if target_triple. architecture == target_lexicon:: Architecture :: X86_64 {
281
+ if let target_lexicon:: Architecture :: Aarch64 ( _) | target_lexicon:: Architecture :: X86_64 =
282
+ target_triple. architecture
283
+ {
282
284
// Windows depends on stack probes to grow the committed part of the stack
283
285
flags_builder. enable ( "enable_probestack" ) . unwrap ( ) ;
284
286
flags_builder. set ( "probestack_strategy" , "inline" ) . unwrap ( ) ;
285
287
} else {
286
- // __cranelift_probestack is not provided and inline stack probes are only supported on x86_64
288
+ // __cranelift_probestack is not provided and inline stack probes are only supported on AArch64 and x86_64
287
289
flags_builder. set ( "enable_probestack" , "false" ) . unwrap ( ) ;
288
290
}
289
291
You can’t perform that action at this time.
0 commit comments