There was an error while loading. Please reload this page.
-Cllvm-args="--switch-to-lookup=true"
1 parent 82f4a18 commit 327e748Copy full SHA for 327e748
1 file changed
.cargo/config.toml
@@ -0,0 +1,11 @@
1
+[build]
2
+rustflags = [
3
+ # This flag is extremely important to make LLVM _not_ pessimize
4
+ # codegen for the conversion of `OpCode` to execution handler.
5
+ # This resulted in massive wins for compile-time and execution
6
+ # performance, especially when `indirect-dispatch` is enabled.
7
+ #
8
+ # Tested with: Rust 1.96 using LLVM 22.1.2
9
+ "-C",
10
+ "llvm-args=--switch-to-lookup=true",
11
+]
0 commit comments