mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
internal: try enabling debug info for releases
We now compress releases, so let's check if debug info is light enough to actually ship to users. Getting line numbers back would be helpful!
This commit is contained in:
parent
5b6fa95699
commit
db393982ca
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> {
|
|||
fn dist_server(release_channel: &str) -> Result<()> {
|
||||
let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel);
|
||||
let _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "true");
|
||||
let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1");
|
||||
let target = get_target();
|
||||
if target.contains("-linux-gnu") || target.contains("-linux-musl") {
|
||||
env::set_var("CC", "clang");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue