about summary refs log tree commit diff
path: root/src/tools/x
AgeCommit message (Collapse)AuthorLines
2025-07-11x: use let-elseMarijn Schouten-5/+4
2025-07-11x: move to edition 2024Marijn Schouten-1/+1
2025-07-11x: clippy fixesMarijn Schouten-8/+5
2025-03-13Add `src/tools/x` to the main workspaceJosh Stone-7/+0
The original reason to exclude it was so it could run before submodules were initialized. However, those have all been converted to subtrees now, so the entire workspace is always ready to go.
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2023-05-26Add other workspaces to `linkedProjects` in `rust_analyzer_settings.json`jyn-1/+3
This makes go-to-definition, etc. work in cg_clif, cg_gcc, rust-analyzer, and src/tools/x.
2023-02-15make x look for x.py if shell script does not existZephaniah Ong-16/+60
bump up x version Refactor code
2022-12-31rename wrapper-version argument for x to differentiate it from the bootstrap ↵DebugSteven-1/+1
version
2022-12-31warn when there's a newer version of the x tool availableDebugSteven-0/+8
2022-12-18Make x use the x and x.ps1 scriptsAlbert Larsan-40/+32
This removes another python search from bootstrap.
2022-11-13use `EXE_EXTENSION` while searching for pythonSparkyPotato-4/+5
2022-08-01fix: better error when python not found in xCallum Leslie-3/+3
chore: clean comments to be relevant
2022-03-29Clarify how `src/tools/x` searches for pythonJoshua Nelson-0/+4
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2020-12-21Add installation commands to `x` tool READMEpierwill-0/+7
2020-11-03Add a tool to run `x.py` from any subdirectoryCasey Rodarmor-0/+107
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`