fix release build?

This commit is contained in:
Felix Ableitner 2020-12-11 17:20:29 +01:00
parent 20115444b6
commit 9cb7680211
2 changed files with 2 additions and 4 deletions

View File

@ -59,8 +59,6 @@ steps:
- name: cargo build - name: cargo build
image: ekidd/rust-musl-builder:1.47.0 image: ekidd/rust-musl-builder:1.47.0
environment:
RUSTFLAGS: "-C opt-level=0 -C lto=off"
commands: commands:
- cargo build --release - cargo build --release

View File

@ -3,8 +3,8 @@ name = "lemmy_server"
version = "0.0.1" version = "0.0.1"
edition = "2018" edition = "2018"
[profile.release] #[profile.release]
lto = true #lto = true
[workspace] [workspace]
members = [ members = [