Disable probestack

This commit is contained in:
bjorn3 2018-12-15 17:16:56 +01:00
parent 1e5c6bc5b8
commit 0530d5225f

View File

@ -319,6 +319,7 @@ fn build_isa(sess: &Session) -> Box<isa::TargetIsa + 'static> {
let mut flags_builder = settings::builder(); let mut flags_builder = settings::builder();
flags_builder.enable("is_pic").unwrap(); flags_builder.enable("is_pic").unwrap();
flags_builder.set("probestack_enabled", "false").unwrap(); // ___cranelift_probestack is not provided
flags_builder.set("enable_verifier", if cfg!(debug_assertions) { flags_builder.set("enable_verifier", if cfg!(debug_assertions) {
"true" "true"
} else { } else {