mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1126] Assuming I just compiled a debug build...?? #526
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#526
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @microfx on GitHub (Mar 4, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1126
Hey!
In the COMPILING.md is written:
Assuming you just compiled a
debugbuild, you can run librespot with the following command:...so apparently I have built a debug build. And I don't know why. Can anyone tell me? :D I don't want to have a 278 MB binary. The instructions are really not understandable ... I'm not a dev and don't want / need a debug build probably.
this is how I build. Any ideas how to not have a debug build?
@kingosticks commented on GitHub (Mar 4, 2023):
cargo build --helphas lots of help. There's also documentation at https://doc.rust-lang.org/cargo/commands/cargo-build.htmlAdd the
--releaseflag to your command to build an optimised version. It'll perfom better than a debug build, which is usually far more important than the size of the binary but there are ways to make it smaller.Next time, maybe post a new discussion topic rather than an issue. Issues are generally for bugs and feature requests. I don't think we need to reproduce general Rust documentation here.
@microfx commented on GitHub (Mar 4, 2023):
Okay, thanks for the super quick help! Will do – not too familiar with all of this wizardry!