From 62c480f6fbcffe27ffcf36ed4ccf0316262eeee4 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Mon, 22 Jul 2024 22:24:24 +0300 Subject: [PATCH] perf/latency: Add rust-toolchain to limbo benchmark The benchmark uses coroutines, which require nightly so make that explicit. --- CONTRIBUTING.md | 11 ----------- perf/latency/limbo/rust-toolchain | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) create mode 100644 perf/latency/limbo/rust-toolchain diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba322147d..0da1851df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,14 +72,3 @@ The `simulator` directory contains a deterministic simulator for testing. What this means is that the behavior of a test run is deterministic based on the seed value. If the simulator catches a bug, you can always reproduce the exact same sequence of events by passing the same seed. The simulator also performs fault injection to discover interesting bugs. - -## Building perf/latency - -In order to build the perf/latency which simulates the multitenancy usage of Limbo, you will need to use the nightly compiler of Rust because it uses experimental features. - -``` -rustup toolchain install nightly -cd perf/latency/limbo -cargo +nightly build -``` - diff --git a/perf/latency/limbo/rust-toolchain b/perf/latency/limbo/rust-toolchain new file mode 100644 index 000000000..bc6c9960d --- /dev/null +++ b/perf/latency/limbo/rust-toolchain @@ -0,0 +1 @@ +nightly-2024-07-21