diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/dist.rs | 8 | ||||
-rw-r--r-- | xtask/src/tidy.rs | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 270719de7..3a67294c5 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -66,11 +66,11 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> { | |||
66 | 66 | ||
67 | fn dist_server(release_channel: &str) -> Result<()> { | 67 | fn dist_server(release_channel: &str) -> Result<()> { |
68 | let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel); | 68 | let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel); |
69 | let _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "true"); | 69 | let _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "thin"); |
70 | 70 | ||
71 | // We want do enable debug symbols, but this causes our windows CI to fail: | 71 | // Uncomment to enable debug info for releases. Note that: |
72 | // https://github.com/rust-lang/rust/issues/85598 | 72 | // * debug info is split on windows and macs, so it does nothing for those platforms, |
73 | // | 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"); | 74 | // let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1"); |
75 | 75 | ||
76 | let target = get_target(); | 76 | let target = get_target(); |
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs index 82b33a7a0..6f687a788 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs | |||
@@ -275,6 +275,7 @@ fn check_todo(path: &Path, text: &str) { | |||
275 | // Some of our assists generate `todo!()`. | 275 | // Some of our assists generate `todo!()`. |
276 | "handlers/add_turbo_fish.rs", | 276 | "handlers/add_turbo_fish.rs", |
277 | "handlers/generate_function.rs", | 277 | "handlers/generate_function.rs", |
278 | "handlers/fill_match_arms.rs", | ||
278 | // To support generating `todo!()` in assists, we have `expr_todo()` in | 279 | // To support generating `todo!()` in assists, we have `expr_todo()` in |
279 | // `ast::make`. | 280 | // `ast::make`. |
280 | "ast/make.rs", | 281 | "ast/make.rs", |