2021-11-09 14:27:28 +03:00
|
|
|
[alias]
|
|
|
|
test-gen-llvm = "test -p test_gen"
|
2021-11-09 20:28:25 +03:00
|
|
|
test-gen-dev = "test -p roc_gen_dev -p test_gen --no-default-features --features gen-dev"
|
2022-02-03 02:45:05 +03:00
|
|
|
test-gen-wasm = "test -p roc_gen_wasm -p test_gen --no-default-features --features gen-wasm"
|
2022-03-15 22:01:31 +03:00
|
|
|
|
|
|
|
[target.wasm32-unknown-unknown]
|
2022-03-16 15:51:24 +03:00
|
|
|
# Rust compiler flags for minimum-sized .wasm binary in the web REPL
|
|
|
|
# opt-level=s Optimizations should focus more on size than speed
|
|
|
|
# lto=fat Spend extra effort on link-time optimization across crates
|
2022-03-16 20:11:15 +03:00
|
|
|
rustflags = ["-Copt-level=s", "-Clto=fat"]
|
2022-05-05 19:08:34 +03:00
|
|
|
|
|
|
|
[env]
|
|
|
|
# Debug flags. Keep this up-to-date with compiler/debug_flags/src/lib.rs.
|
|
|
|
# Set = "1" to turn a debug flag on.
|
|
|
|
ROC_PRETTY_PRINT_ALIAS_CONTENTS = "0"
|
|
|
|
ROC_PRINT_UNIFICATIONS = "0"
|
|
|
|
ROC_PRINT_MISMATCHES = "0"
|
|
|
|
ROC_VERIFY_RIGID_LET_GENERALIZED = "0"
|
|
|
|
ROC_PRINT_IR_AFTER_SPECIALIZATION = "0"
|
|
|
|
ROC_PRINT_IR_AFTER_RESET_REUSE = "0"
|
|
|
|
ROC_PRINT_IR_AFTER_REFCOUNT = "0"
|
|
|
|
ROC_DEBUG_ALIAS_ANALYSIS = "0"
|
|
|
|
ROC_PRINT_LLVM_FN_VERIFICATION = "0"
|
2022-05-05 21:54:39 +03:00
|
|
|
ROC_PRINT_LOAD_LOG = "0"
|