From 92ba9130f5f0e8ccac66cee28d019f1514541b98 Mon Sep 17 00:00:00 2001 From: joaovarelas Date: Sat, 16 Dec 2023 18:50:35 +0000 Subject: [PATCH] update build command --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e86e88..187b0b7 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,12 @@ NOTE: You are going to need at least **30GB** of disk space and patience to comp Then inside the container: 4. `cd /projects/myproject/` -5. `RUSTCFLAGS="-Cllvm-args=-enable-allobf" cargo +ollvm-rust-1.70.0 build --release` +5. `cargo rustc --release -- -Cllvm-args=-enable-allobf -Cdebuginfo=0 -Cstrip=symbols -Cpanic=abort -Copt-level=3` The executables will be placed at `target/`. - OLLVM 16.0 patch for Rust LLVM based on Hikari - https://github.com/rust-lang/llvm-project/tree/rustc/16.0-2023-03-06