rust/crates
Chase Douglas 2826eb51aa Don't build dependencies when retrieving target data layout
`cargo rustc -- <args>` first builds dependencies then calls `rustc <args>` for the current package. Here, we don't want to build dependencies, we just want to call `rustc --print`. An unstable `cargo rustc` `--print` command bypasses building dependencies first. This speeds up execution of this code path and ensures RA doesn't recompile dependencies with the `RUSTC_BOOTSRAP=1` env var flag set.

Note that we must pass `-Z unstable-options` twice, first to enable the `cargo` unstable `--print` flag, then later to enable the unstable `rustc` `target-spec-json` print request.
2024-02-20 19:16:55 -08:00
..
base-db Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
cfg
flycheck Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
hir Render assoc item owner in hover for items other than functions 2024-02-20 13:16:12 +01:00
hir-def internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
hir-expand Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
hir-ty internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
ide Auto merge of #16606 - Veykril:hover-extern, r=Veykril 2024-02-20 13:51:47 +00:00
ide-assists internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
ide-completion internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
ide-db Auto merge of #16606 - Veykril:hover-extern, r=Veykril 2024-02-20 13:51:47 +00:00
ide-diagnostics internal: Attempt to add a timeout to rustc-tests 2024-02-20 18:04:53 +01:00
ide-ssr Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
intern
limit Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
load-cargo internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
mbe Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
parser Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
paths
proc-macro-api Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
proc-macro-srv Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
proc-macro-srv-cli Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
profile Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
project-model Don't build dependencies when retrieving target data layout 2024-02-20 19:16:55 -08:00
rust-analyzer fix: Don't add \ before { 2024-02-20 14:35:59 -05:00
salsa internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00
sourcegen Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
span Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
stdx Deduplicate references to macro argument 2024-02-19 12:23:59 +01:00
syntax Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
test-fixture Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
test-utils Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
text-edit Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
toolchain Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
tt Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
vfs Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
vfs-notify