Shoyu Vanilla
f09b0a89a4
fix: Canonicalize custom-target.json paths when fetching sysroot metadata
2025-11-04 03:00:29 +09:00
Shoyu Vanilla
5f3539a566
fix: Resolve target-dir more precisely
2025-10-28 03:54:00 +09:00
yukang
76f9b4e36c
Use tracing error when received compiler message for unknown package
2025-10-25 09:14:35 +08:00
Daniel Paoliello
554381f805
Allow env vars set in cargo.extraEnv to be resolved by the env! macro
2025-10-21 11:00:27 -07:00
Shoyu Vanilla
5c537596f5
fix: Report metadata errors for sysroot
2025-10-20 01:55:52 +09:00
Shoyu Vanilla
dcab2ad02b
fix: Run cargo metadata on sysroot with cwd=sysroot
2025-10-19 18:31:26 +09:00
Chayim Refael Friedman
428405da33
Prevent rustup from automatically installing toolchains
...
By setting RUSTUP_AUTO_INSTALL=0.
2025-09-30 19:02:10 +03:00
Shoyu Vanilla
de3ad58b73
fix: Make flycheck clearing dependency-aware
2025-09-20 01:35:35 +09:00
Chayim Refael Friedman
6315e315ad
Expand target info to include the architecture
...
And make it easier to expand it more in the future, if needed.
2025-09-09 13:47:26 +03:00
Elliot Roberts
32e2b60d86
Pass --target before -- for cargo rustc
2025-08-30 13:36:29 -07:00
BenjaminBrienen
98322abfd7
remove duplicate field in Debug
2025-08-08 23:46:28 +02:00
Lukas Wirth
34ce0b5063
Slim down compile time artifact progress reports
2025-08-05 10:45:54 +02:00
Lukas Wirth
6b09fbf881
fix: Consider all produced artifacts for proc-macro dylib search
2025-07-27 23:21:42 +02:00
Lukas Wirth
b398bc6af7
Cleanup unstable flags handling
2025-07-27 22:39:01 +02:00
Lukas Wirth
df85aac1d4
Copy lockfile when building build scripts
2025-07-27 20:28:22 +02:00
Lukas Wirth
7950da3940
internal: Better type proc macro dylib build data state
2025-07-27 19:37:16 +02:00
Shoyu Vanilla
d5379d3103
Use TempDir for copied lockfiles
2025-07-23 23:39:46 +09:00
Shoyu Vanilla
d6bdcf2f08
Further decrease number of cargo metadata invokes
2025-07-15 22:49:16 +09:00
Shoyu Vanilla
8dad658bea
chore: Cleanup cargo config queries
2025-07-15 22:49:16 +09:00
Lukas Wirth
4ee90e97f6
Improve flycheck and build script progress reporting
2025-07-04 11:52:09 +02:00
Lukas Wirth
4183bcdcde
Merge pull request #20148 from ShoyuVanilla/sysroot-no-deps
...
fix: Honor `rust-analyzer.cargo.noDeps` option when fetching sysroot metadata
2025-07-04 08:03:25 +00:00
Lukas Wirth
292ab7cf95
Merge pull request #20159 from Veykril/push-kyssnlrxlwsl
...
Always couple `--compile-time-deps` with
2025-07-03 11:03:36 +00:00
Lukas Wirth
2219f8e175
Always couple --compile-time-deps with
...
`--all-targets` coupled with `--compile-time-deps` will never actually build binaries and so it won't fail for targets where libtest is missing
2025-07-03 12:52:32 +02:00
Lukas Wirth
d1149cba49
fix: Do not warn about proc-macro srv when sysroot is missing
2025-07-03 11:51:31 +02:00
Lukas Wirth
e54759083a
Restructure proc-macro loading erros, differentiate hard error property on kind
2025-07-03 09:28:53 +02:00
Shoyu Vanilla
224b84f843
fix: Honor rust-analyzer.cargo.noDeps option when fetching sysroot metadata
2025-07-03 00:16:05 +09:00
Lukas Wirth
f055cbce1a
Do not append --compile-time-deps to overwritten build script commands
2025-06-29 09:07:55 +02:00
Laurențiu Nicola
c6633fa1f2
Merge pull request #20101 from ShoyuVanilla/comp-time-deps-sooner
...
minor: Decrease minimal toolchain version for `comp-time-deps` to `1.89.0`
2025-06-26 05:05:51 +00:00
Shoyu Vanilla
89a0a28d4f
minor: Decrease minimal toolchain version for comp-time-deps by 0.1
2025-06-26 01:20:35 +09:00
Vincent Esche
3e6509f18b
Unify formatting of progress messages
2025-06-25 16:41:08 +02:00
Lukas Wirth
aee96c7f17
Drop rustc workspace loading error, if we don't needs its sources
2025-06-25 12:09:54 +02:00
Lukas Wirth
b50d527931
Merge pull request #20036 from Veykril/push-yquvoyrxkksx
...
Do not default to 'static for trait object lifetimes
2025-06-24 06:59:54 +00:00
Lukas Wirth
2b05bd7d7e
Do not default to 'static for trait object lifetimes
...
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
2025-06-24 08:49:24 +02:00
Lukas Wirth
95dce2be51
Merge pull request #20062 from ChayimFriedman2/doctests
...
minor: Don't run doctests
2025-06-24 06:47:24 +00:00
Lukas Wirth
937cd5292e
Merge pull request #20072 from Veykril/push-sorvvvzskywv
...
fix: Respect `.cargo/config.toml` `build.target-dir`
2025-06-24 05:50:47 +00:00
Lukas Wirth
f7a830724d
fix: Respect .cargo/config.toml build.target-dir
2025-06-23 19:47:52 +02:00
Lukas Wirth
ab9e7bdc83
Merge pull request #20069 from Veykril/push-mnqkqxomtlxn
...
fix: Fix cargo project manifest not pointing to the workspace root
2025-06-23 12:19:41 +00:00
Lukas Wirth
44f2cf9700
fix: Fix cargo project manifest not pointing to the workspace root
2025-06-23 14:04:57 +02:00
Chayim Refael Friedman
de312d0c71
Don't run doctests
2025-06-23 00:50:22 +03:00
Shoyu Vanilla
98c92fa879
internal: Utilize cargo check --compile-time-deps
2025-06-21 14:36:44 +09:00
Lukas Wirth
c0f428d55b
fix: Copy lockfiles into target directory before invoking cargo metadata
2025-06-17 10:09:04 +02:00
Lukas Wirth
9dfbd56bb8
feat: Show what cargo metadata is doing in status
2025-06-16 18:05:44 +02:00
Lukas Wirth
23712aea06
cargo upgrade
2025-06-13 10:08:20 +02:00
Lukas Wirth
02a788bfaa
Deduplicate code in proc-macro-srv
2025-06-05 07:25:15 +02:00
Lukas Wirth
0843d06ad2
Merge pull request #19807 from Veykril/lw-qyynkqysuyuy
...
fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already set
2025-05-16 13:21:15 +00:00
Lukas Wirth
09ecc4cbf6
fix: Don't overwrite RUSTUP_TOOLCHAIN if it is already set
2025-05-16 14:52:28 +02:00
Victor
32e09de7c2
Support environment variable CARGO_MANIFEST_PATH.
2025-05-05 22:13:48 +02:00
Matthias Krüger
573c47c9ba
remove a couple of clones
2025-05-01 11:41:42 +02:00
Lukas Wirth
34e7d60e30
Merge pull request #19644 from ChayimFriedman2/const-syms
...
internal: Make predefined symbols `const` instead of `static`
2025-04-21 12:34:59 +00:00
Chayim Refael Friedman
0f325c7ff8
Remove unnecessary predefined symbol clones
...
Now that they're const it's no longer needed.
Nothing manual was performed: only a regexp search of `sym::([\w][\w\d]*)\.clone\(\)` and replace by `sym::$1`.
2025-04-21 03:10:13 +03:00