aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--examples/tiny_vm.rs2
2 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7bbbcfc..20941b6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,3 +5,7 @@ edition = "2021"
[dependencies]
nix = "0.26.2"
+
+# When profiling one wants debug symbols for release builds.
+#[profile.release]
+#debug = 1
diff --git a/examples/tiny_vm.rs b/examples/tiny_vm.rs
index d203bde..b441a4a 100644
--- a/examples/tiny_vm.rs
+++ b/examples/tiny_vm.rs
@@ -144,6 +144,8 @@ impl TinyVm {
// -- JIT state.
jit_cache,
rt: Runtime::new(),
+ // Confifigure the runtime to generates perf meta data.
+ //rt: Runtime::with_profile(),
}
}