about summary refs log tree commit diff
path: root/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-09-05Add tool `src/tools/coverage-dump` for use by some new coverage testsZalathar-0/+1
2023-07-17Update Cargo.lock/tomlPhilipp Krones-1/+0
Remove clippy_test_deps from Cargo.toml
2023-07-09Port PGO/LTO/BOLT optimized build pipeline to RustJakub Beránek-0/+1
2023-07-02Fix compile-test tests to work with the new ui_test cratePhilipp Krones-0/+1
2023-05-31Explicit set `workspace.resolver = "1"`Weihang Lo-0/+1
rust-lang/cargo#10910 starts emitting warning if resolver is not set for 2021 edition package. We want to surpress the warning for now.
2023-05-20create new tool rustdoc-gui-testozkanonur-0/+1
2023-05-05Generate windows-sys bindingsChris Denton-0/+1
2023-04-25Add a `sysroot` crate to represent the standard library cratesJohn Kåre Alsaker-1/+1
2023-04-16chore: remove `rustc-workspace-hack`Weihang Lo-4/+0
Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
2023-04-16chore: allow `cargo` to have its own workspaceWeihang Lo-6/+0
This also * bumps cargo to the latest in rust-lang/cargo. * adds 0BSD to allowed list of licenses Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
2023-04-09feat: implement basic suggest-tests toolEzra Shaw-0/+1
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-03Add `build_helper` crate to share code between tidy and bootstrapNilstrieb-0/+1
2022-12-31Revert "Auto merge of #105058 - ↵Joshua Nelson-1/+0
Nilstrieb:no-merge-commits-for-you-only-bors-is-allowed-to-do-that, r=jyn514" This reverts commit 4839886f0abe208ab8f2bb73a3076a59fe2ab60c, reversing changes made to ce85c98575e3016cf2007d90a85be321e592aa96.
2022-12-30Add `build_helper` crate to share code between tidy and bootstrapNilstrieb-0/+1
2022-12-22Support documenting CargoJoshua Nelson-0/+2
The primary motivation is to have the cargo docs show up on https://doc.rust-lang.org/nightly/nightly-rustc/cargo, but as a nice side effect this makes `x doc cargo` work locally.
2022-11-15initial prototype of the tool to generate copyright noticesPietro Albini-0/+1
2022-11-15add tool to collect license metadata from REUSEPietro Albini-0/+1
2022-10-31Detect unused files in `src/test/mir-opt` and error on them in tidy.Jakob Degen-0/+1
2022-09-14jsondoclint: New ToolNixon Enraght-Moony-0/+1
2022-08-27Sunset RLSEric Huss-15/+0
2022-08-27Add replace-version-placeholder toolest31-0/+1
This tool is to be ran at specific points in the release process to replace the version place holder made by stabilizations with the version number.
2022-07-28Fix small typo in Cargo.toml commentYotam Ofek-1/+1
2022-06-21Fully remove submodule handling from bootstrap.pyJoshua Nelson-11/+1
These submodules were previously updated in python because Cargo gives a hard error if toml files are missing from the workspace: ``` error: failed to load manifest for workspace member `/home/jnelson/rust-lang/rust/src/tools/rls` Caused by: failed to read `/home/jnelson/rust-lang/rust/src/tools/rls/Cargo.toml` Caused by: No such file or directory (os error 2) failed to run: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/jnelson/rust-lang/rust/src/bootstrap/Cargo.toml ``` However, bootstrap doesn't actually need to be part of the workspace. Remove it so we can move submodule handling fully to Rust, avoiding duplicate code between Rust and Python. Note that this does break `cargo run`; it has to be `cd src/bootstrap && cargo run` now. Given that we're planning to make the main entrypoint a shell script (or rust binary), I think this is a good tradeoff for reduced complexity in bootstrap.py.
2022-03-09Allow `cargo run` instead of `cargo run -p bootstrap`Joshua Nelson-0/+1
This was part of Mark's original PR in https://github.com/rust-lang/rust/commit/ecb424f12992a4aebace8a153d5efea040327a01, but I missed it when writing #92260.
2021-10-24Temporarily turn overflow checks off for rustc-rayon-coreHans Kratz-0/+7
2021-10-10Greatly reduce amount of debuginfo compiled for bootstrap itselfJoshua Nelson-0/+9
Rather than compiling rustbuild and all its dependencies with `debuginfo=2`, this compiles dependencies without debuginfo and rustbuild with `debuginfo=1`. On my laptop, this brings compile times down from ~1:20 to ~1:05.
2021-10-07Add wrapper for -Z gcc-ld=lld to invoke rust-lld with the correct flavorHans Kratz-0/+1
The wrapper is installed as `ld` and `ld64` in the `lib\rustlib\<host_target>\bin\gcc-ld` directory and its sole purpose is to invoke `rust-lld` in the parent directory with the correct flavor.
2021-09-28Rollup merge of #87260 - antoyo:libgccjit-codegen, r=Mark-SimulacrumGuillaume Gomez-0/+1
Libgccjit codegen This PR introduces a subtree for a gcc-based codegen backend to the repository, per decision in https://github.com/rust-lang/compiler-team/issues/442. We do not yet expect to ship this backend on nightly or run tests in CI, but we do verify that the backend checks (i.e., `cargo check`) successfully. Work is expected to progress primarily in https://github.com/rust-lang/rustc_codegen_gcc, with semi-regular upstreaming, like with other subtrees.
2021-08-26switch stage0.txt to stage0.json and add a tool to generate itPietro Albini-0/+1
2021-08-12Exclude rustc_codegen_gcc from namespaceAntoni Boucher-0/+1
2021-07-21Remove cargo workspace to build rustdoc-gui test crates because of cargo ↵Guillaume Gomez-0/+1
config not being applied
2021-06-28Add new tool to check HTML:Guillaume Gomez-0/+1
* Make html-checker run by default on rust compiler docs as well * Ensure html-checker is run on CI * Lazify tidy binary presence check
2021-04-27Implement `x.py test src/tools/clippy --bless`Joshua Nelson-0/+1
- Add clippy_dev to the rust workspace Before, it would give an error that it wasn't either included or excluded from the workspace: ``` error: current package believes it's in a workspace when it's not: current: /home/joshua/rustc/src/tools/clippy/clippy_dev/Cargo.toml workspace: /home/joshua/rustc/Cargo.toml this may be fixable by adding `src/tools/clippy/clippy_dev` to the `workspace.members` array of the manifest located at: /home/joshua/rustc/Cargo.toml Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest. ``` - Change clippy's copy of compiletest not to special-case rust-lang/rust. Using OUT_DIR confused `clippy_dev` and it couldn't find the test outputs. This is one of the reasons why `cargo dev bless` used to silently do nothing (the others were that `CARGO_TARGET_DIR` and `PROFILE` weren't set appropriately). - Run clippy_dev on test failure I tested this by removing a couple lines from a stderr file, and they were correctly replaced. - Fix clippy_dev warnings
2021-04-12Auto merge of #83776 - jyn514:update-stdarch-docs, r=Amanieubors-0/+2
Update stdarch submodule (to before it switched to const generics) https://github.com/rust-lang/rust/pull/83278#issuecomment-812389823: This unblocks #82539. Major changes: - More AVX-512 intrinsics. - More ARM & AArch64 NEON intrinsics. - Updated unstable WASM intrinsics to latest draft standards. - std_detect is now a separate crate instead of a submodule of std. I double-checked and the first use of const generics looks like https://github.com/rust-lang/stdarch/commit/8d5017861ed594a2baf169e632379862d516e013, which isn't included in this PR. r? `@Amanieu`
2021-04-12update RLS and rustfmtCaleb Cartwright-0/+1
2021-04-12Update stdarch submodule (to before it switched to const generics)Joshua Nelson-0/+2
This also includes a cherry-pick of https://github.com/rust-lang/stdarch/commit/ec1461905b421cf0c56adeebb49bbf55bb33fd17 and https://github.com/rust-lang/stdarch/pull/1108 to fix a build failure. It also adds a re-export of various macros to the crate root of libstd - previously they would show up automatically because std_detect was defined in the same crate.
2021-02-09remove unused backtrace refsCaleb Cartwright-6/+0
2021-01-27`src/etc/json-types` -> `src/rustdoc-json-types`Rune Tynan-1/+1
2021-01-27Move into src/etcRune Tynan-1/+1
2021-01-27Split JSON into separately versioned crateRune Tynan-0/+1
2021-01-19Add jsondocck tool, and use it for rustdoc JSONRune Tynan-0/+1
2020-12-18Update cargoEric Huss-0/+3
2020-11-08Rollup merge of #78658 - casey:x, r=Mark-SimulacrumMara Bos-0/+6
Add a tool to run `x.py` from any subdirectory This adds a binary called `x` in `src/tools/x`. All it does is check the current directory and its ancestors for a file called `x.py`, and if it finds one, runs it. By installing x, you can easily run `x.py` from any subdirectory, and only need to type `x`. It can be installed with `cargo install --path src/tools/x` This is a copy of a [binary I've been using myself when working on rust](https://github.com/casey/bootstrap), currently published to crates.io as `bootstrap`. It could be changed to avoid indirecting through `x.py`, and instead call the bootstrap module directly. However, this seemed like the simplest thing possible, and won't break if the details of how the bootstrap module is invoked change.
2020-11-03Add a tool to run `x.py` from any subdirectoryCasey Rodarmor-0/+6
This adds a binary called `x` in `src/tools/x`. All it does is check the current directory and its ancestors for a file called `x.py`, and if it finds one, runs it. By installing x, you can easily `x.py` from any subdirectory. It can be installed globally with `cargo install --path src/tools/x`
2020-10-26Add support for using cg_clif to bootstrap rustcbjorn3-0/+1
2020-09-13Auto-generate lint documentation.Eric Huss-0/+1
2020-08-30mv compiler to compiler/mark-2/+1
2020-08-18Bump RLSIgor Matuszewski-1/+2
2020-08-12Add a script to verify the Platform Support page is up-to-date.Eric Huss-0/+1