File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,11 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> {
67
67
fn dist_server ( release_channel : & str ) -> Result < ( ) > {
68
68
let _e = pushenv ( "RUST_ANALYZER_CHANNEL" , release_channel) ;
69
69
let _e = pushenv ( "CARGO_PROFILE_RELEASE_LTO" , "thin" ) ;
70
- let _e = pushenv ( "CARGO_PROFILE_RELEASE_DEBUG" , "1" ) ;
70
+
71
+ // Uncomment to enable debug info for releases. Note that:
72
+ // * debug info is split on windows and macs, so it does nothing for those platforms,
73
+ // * on Linux, this blows up the binary size from 8MB to 43MB, which is unreasonable.
74
+ // let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1");
71
75
72
76
let target = get_target ( ) ;
73
77
if target. contains ( "-linux-gnu" ) || target. contains ( "-linux-musl" ) {
You can’t perform that action at this time.
0 commit comments