mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Enables probestack in aarch64
This commit is contained in:
@@ -130,6 +130,13 @@ impl Cranelift {
|
|||||||
.enable("enable_probestack")
|
.enable("enable_probestack")
|
||||||
.expect("should be valid flag");
|
.expect("should be valid flag");
|
||||||
|
|
||||||
|
// Only inline probestack is supported on AArch64
|
||||||
|
if matches!(target.triple().architecture, Architecture::Aarch64(_)) {
|
||||||
|
flags
|
||||||
|
.set("probestack_strategy", "inline")
|
||||||
|
.expect("should be valid flag");
|
||||||
|
}
|
||||||
|
|
||||||
// There are two possible traps for division, and this way
|
// There are two possible traps for division, and this way
|
||||||
// we get the proper one if code traps.
|
// we get the proper one if code traps.
|
||||||
flags
|
flags
|
||||||
|
|||||||
Reference in New Issue
Block a user