mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 11:59:48 -05:00
chore(bin): strip the binary symbols with an option in Cargo.toml
This commit is contained in:
parent
c5389a1200
commit
e013ac26bd
2 changed files with 1 additions and 1 deletions
|
@ -66,6 +66,7 @@ debug = false
|
|||
panic = "unwind"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
|
||||
[profile.bench]
|
||||
opt-level = 3
|
||||
|
|
|
@ -11,7 +11,6 @@ COPY . .
|
|||
RUN cargo build --locked --release
|
||||
RUN mkdir -p build-out/
|
||||
RUN cp target/release/rustypaste build-out/
|
||||
RUN strip build-out/rustypaste
|
||||
|
||||
FROM scratch
|
||||
WORKDIR /app
|
||||
|
|
Loading…
Reference in a new issue