]> Untitled Git - lemmy.git/commitdiff
fix release build?
authorFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 16:20:29 +0000 (17:20 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 16:20:29 +0000 (17:20 +0100)
.drone.yml
Cargo.toml

index 6696186be63dcc3ae22fae38ac77473d3aaa1ff1..08e2ae78a3f7ae3b7d18244a535843b151f100eb 100644 (file)
@@ -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
 
index 99d755cc0b2a2b3532778acb9531c3d98983b6f1..f0b98709d3a041b686169148aa97160b3aa5bcdb 100644 (file)
@@ -3,8 +3,8 @@ name = "lemmy_server"
 version = "0.0.1"
 edition = "2018"
 
-[profile.release]
-lto = true
+#[profile.release]
+#lto = true
 
 [workspace]
 members = [