Skip to content

Strip debug symbols in release #208

Closed
@savchenko

Description

When building via cargo build --release, symbols are still present:

checksec --file=$HOME/.local/bin/ta
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH        Symbols         FORTIFY Fortified       Fortifiable     FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   19684) Symbols      No    0   12

Perhaps good ol' RUSTFLAGS='-C link-arg=-s' cargo build --release will do as default release step?

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions