summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index df52e1c..be912c8 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -7,3 +7,8 @@ test-wast="test --package tinywasm --test test-wast -- --enable "
test-wast-release="test --package tinywasm --test test-wast --release -- --enable "
generate-charts="run --package scripts --bin generate-charts --release"
benchmark="bench -p benchmarks --bench"
+
+# # enable for linux perf
+# [target.x86_64-unknown-linux-gnu]
+# linker="/usr/bin/clang"
+# rustflags=["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"]