From 4bd204b6017173c1425468db8566f053abb49f0b Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Fri, 12 Mar 2021 16:00:30 +0530 Subject: [PATCH] fix: nightly toolchain and disable link time optimization --- rust/Cargo.toml | 3 +++ rust/rust-toolchain | 1 + 2 files changed, 4 insertions(+) create mode 100644 rust/rust-toolchain diff --git a/rust/Cargo.toml b/rust/Cargo.toml index a956d65..22865c9 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -7,6 +7,9 @@ edition = "2018" [lib] crate-type = ["staticlib"] +[profile.release] +lto = false + [dependencies] arrayref = "0.3.6" bincode = "1.3.1" diff --git a/rust/rust-toolchain b/rust/rust-toolchain new file mode 100644 index 0000000..c318446 --- /dev/null +++ b/rust/rust-toolchain @@ -0,0 +1 @@ +nightly-2020-10-05