We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f462469 + d03fb04 commit 24f796fCopy full SHA for 24f796f
src/execute.rs
@@ -1042,6 +1042,15 @@ fn configure_wasmtime(
1042
config.wasm_component_model(true);
1043
}
1044
1045
+ // Wasm permits the "relaxed" instructions to be nondeterministic
1046
+ // between runs, but requires them to be deterministic within runs.
1047
+ // Snapshotting a program's execution to avoid redundantly running
1048
+ // initialization code on each request is an important optimization,
1049
+ // so we enable deterministic lowerings for relaxed SIMD to ensure
1050
+ // that it works consistently even if the initialization runs on a
1051
+ // different host architecture.
1052
+ config.relaxed_simd_deterministic(true);
1053
+
1054
config
1055
1056
0 commit comments