File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 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
278278 }
279279 }
280280
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+ {
282284 // Windows depends on stack probes to grow the committed part of the stack
283285 flags_builder. enable ( "enable_probestack" ) . unwrap ( ) ;
284286 flags_builder. set ( "probestack_strategy" , "inline" ) . unwrap ( ) ;
285287 } 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
287289 flags_builder. set ( "enable_probestack" , "false" ) . unwrap ( ) ;
288290 }
289291
You can’t perform that action at this time.
0 commit comments