From: Felix Ableitner Date: Fri, 11 Dec 2020 16:20:29 +0000 (+0100) Subject: fix release build? X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/static/%24%7B%60data:application/README.md?a=commitdiff_plain;h=9cb7680211afbb0b670907d87aa807c0500afbd6;p=lemmy.git fix release build? --- diff --git a/.drone.yml b/.drone.yml index 6696186b..08e2ae78 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,8 +59,6 @@ steps: - name: cargo build image: ekidd/rust-musl-builder:1.47.0 - environment: - RUSTFLAGS: "-C opt-level=0 -C lto=off" commands: - cargo build --release diff --git a/Cargo.toml b/Cargo.toml index 99d755cc..f0b98709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,8 @@ name = "lemmy_server" version = "0.0.1" edition = "2018" -[profile.release] -lto = true +#[profile.release] +#lto = true [workspace] members = [