Skip to content

Is there a way to disable dynamic linking for release builds? #13510

Answered by jf908
rcorre asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, unfortunately cargo just doesn't support that. The only alternatives I can offer is using a wrapper command like just or personally I have setup an alias in my config.toml called dev to make the command a bit shorter: cargo dev but of course this does mean using non standard commands that are specific to your project.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rcorre
Comment options

@jf908
Comment options

Answer selected by rcorre
@rcorre
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants