aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJade <[email protected]>2021-06-12 13:16:22 +0100
committerJade <[email protected]>2021-06-19 09:09:19 +0100
commit1f6abb7fbae35dbd036032a6ea2a9e04307f1f55 (patch)
treec49a07d81e3cc3a6ea6ca3c57fd364492475c49b /docs
parent0d3bad85e60d011b35da0a8e5dd6611934f6816d (diff)
Fix libcore not being included in rust-lang/rust module tree
If you are opening libcore from rust-lang/rust as opposed to e.g. goto definition from some other crate which would use the sysroot instance of libcore, a `#![cfg(not(test))]` would previously have made all the code excluded from the module tree, breaking the editor experience. This puts in a slight hack that checks for the crate name "core" and turns off `#[cfg(test)]`.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions