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"
|
panic = "unwind"
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
strip = true
|
||||||
|
|
||||||
[profile.bench]
|
[profile.bench]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
|
@ -11,7 +11,6 @@ COPY . .
|
||||||
RUN cargo build --locked --release
|
RUN cargo build --locked --release
|
||||||
RUN mkdir -p build-out/
|
RUN mkdir -p build-out/
|
||||||
RUN cp target/release/rustypaste build-out/
|
RUN cp target/release/rustypaste build-out/
|
||||||
RUN strip build-out/rustypaste
|
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
Loading…
Reference in a new issue