about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-07-19Rollup merge of #127825 - Oneirical:self-testeem, r=jieyouxuTrevor Gross-3/+0
Migrate `macos-fat-archive`, `manual-link` and `archive-duplicate-names` `run-make` tests to rmake Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Please try: try-job: x86_64-msvc try-job: aarch64-apple
2024-07-19Make xtask install work againLaurențiu Nicola-2/+2
2024-07-19Revert format changeKai Luo-25/+5
2024-07-19AIX uses .a as dylib's suffixKai Luo-5/+27
2024-07-18Make clippy and rustdoc happyMichael Goulet-8/+7
2024-07-18rewrite link-path-order to rmakeOneirical-1/+0
2024-07-18rewrite lto-smoke-c to rmakeOneirical-1/+0
2024-07-18Auto merge of #17246 - ↵bors-169/+877
davidbarsky:david/move-rust-project-generation-to-server, r=Veykril feature: teach rust-analyzer to discover `linked_projects` This PR's been a long-time coming, but like the title says, it introduces server-side project discovery and removes the extension hooks I previously introduced. I don't think this PR is ready to land, but here are the things I'm feeling squishy about: - I don't think I like the idea of introducing the `cargo-metadata` command-but-for-everything-else in the `flycheck` module, but the progress reporting infrastructure was too convenient to pass up. Happy to move it elsewhere. Here are the things I _know_ I need to change: - For progress reporting, I'm extracting from a `serde_json::Value` that corresponds to `tracing_subsciber::fmt::Layer`'s JSON output. I'd like to make this a bit more structured/documented than the current nonsense I wrote. - The progress reporting currently hardcodes "Buck"; it should be deriving that from the previously mentioned more-structured-output. - This doesn't handle *reloading* when a corresponding buildfile is changed. It should be doing that. <details> <summary>Anyway, here's a video of rust-analyzer discovering a Buck target.</summary> https://github.com/rust-lang/rust-analyzer/assets/2067774/be6cd9b9-2c9a-402d-847f-05f860a91df1 </details>
2024-07-18feature: move `linked_projects` discovery to the rust-analyzer serverDavid Barsky-169/+877
2024-07-18Rewrite and rename issue-26006 to rmakeOneirical-1/+0
2024-07-18Rewrite and rename issue-22131 to rmakeOneirical-1/+0
2024-07-18rewrite rlib-format-packed-bundled-libs-3 to rmakeOneirical-1/+0
2024-07-18rewrite staticlib-blank-lib to rmakeOneirical-1/+0
2024-07-18rewrite archive-duplicate-names to rmakeOneirical-1/+0
2024-07-18rewrite manual-link to rmakeOneirical-1/+0
2024-07-18rewrite macos-fat-archive to rmakeOneirical-1/+0
2024-07-18Rollup merge of #127822 - Oneirical:amazon-rainfortest, r=jieyouxuTrevor Gross-3/+0
Migrate `issue-85401-static-mir`, `missing-crate-dependency` and `unstable-flag-required` `run-make` tests to rmake Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc try-job: aarch64-apple try-job: dist-x86_64-linux
2024-07-18Rollup merge of #127687 - RalfJung:pattern-cleanup, r=oli-obk,lcnrTrevor Gross-2/+1
Const-to-pattern-to-MIR cleanup Now that all uses of constants without structural equality are hard errors, there's a bunch of cleanup we can do in the code that handles patterns: we can always funnel patterns through valtrees first (rather than having a fallback path for when valtree construction fails), and we can make sure that if we emit a `PartialEq` call it is not calling anything user-defined. To keep the error messages the same, I made valtree construction failures return the information of *which* type it is that cannot be valtree'd. `search_for_structural_match_violation` is now not needed any more at all, so I removed it. r? `@oli-obk`
2024-07-18Rollup merge of #127491 - Oneirical:bulletproof-test, r=jieyouxuTrevor Gross-8/+0
Migrate 8 very similar FFI `run-make` tests to rmake Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). There are some more of these, but while the code is almost always the same, I want to keep the number reasonable so my doc comments can be inspected for potential inaccuracies. Tell me if 8 is too much, I can cut this down. For the tracking issue: - issue-25581 - extern-fn-with-extern-types - extern-fn-struct-passing-abi - longjmp-across-rust - static-extern-type - extern-fn-explicit-align - extern-fn-with-packed-struct - extern-fn-mangle
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-1/+0
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-1/+1
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-6/+8
2024-07-18Rewrite inline parser test infra to generated proper rust test casesLukas Wirth-163/+955
2024-07-18Update test fixturesLukas Wirth-195/+301
2024-07-18Encode edition within FileId in the hir layerLukas Wirth-822/+1115
2024-07-18fix: handle synonymous imports in 'merge imports'roife-5/+82
2024-07-17Migrate `atomic-lock-free` to `rmake`Jerry Wang-1/+0
2024-07-17Add `llvm_components_contain` to `run-make-support`Jerry Wang-1/+8
2024-07-17rewrite unstable-flag-required to rmakeOneirical-1/+0
2024-07-17rewrite missing-crate-dependency to rmakeOneirical-1/+0
2024-07-17rewrite and rename issue-85401-static-mirOneirical-1/+0
2024-07-17rewrite extern-fn-mangle to rmakeOneirical-1/+0
2024-07-17rewrite extern-fn-with-packed-struct to rmakeOneirical-1/+0
2024-07-17rewrite extern-fn-explicit-align to rmakeOneirical-1/+0
2024-07-17rewrite static-extern-type to rmakeOneirical-1/+0
2024-07-17rewrite longjmp-across-rust to rmakeOneirical-1/+0
2024-07-17rewrite extern-fn-struct-passing-abi to rmakeOneirical-1/+0
2024-07-17rewrite and rename issue-25581Oneirical-1/+0
2024-07-17rewrite extern-fn-with-extern-types to rmakeOneirical-1/+0
2024-07-17Add `wasm32-wasip2` to `build-manifest` toolAlex Crichton-0/+1
This is an accidental omission of mine from #126967 which means that `rustup target add wasm32-wasip2` isn't working on today's nightlies.
2024-07-17abstract merge-base commit logiconur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-17run_make_support: use `fs` internally, but `rfs` to tests许杰友 Jieyou Xu (Joe)-21/+30
2024-07-17run_make_support: rename `assert_recursive_eq` to `assert_dirs_are_equal`许杰友 Jieyou Xu (Joe)-3/+3
2024-07-17run_make_support: moved some helpers into `string` module许杰友 Jieyou Xu (Joe)-46/+54
2024-07-17run_make_support: move some helpers from assertion to path许杰友 Jieyou Xu (Joe)-53/+53
2024-07-17run_make_support: coalesce fs helpers into single `fs` module许杰友 Jieyou Xu (Joe)-117/+104
There were *two* `read_dir` helpers, one being a simple `std::fs::read_dir` wrapper, the other has a different callback-based signature. We also rename the callback-based `read_dir` as `read_dir_entries`. Also don't top-level re-export most `fs::*` helpers.
2024-07-17run_make_support: rename `cygpath_windows` to `get_windows_path` and move ↵许杰友 Jieyou Xu (Joe)-42/+45
under `external_deps` as private
2024-07-17run_make_support: rename `env_checked` -> `env`许杰友 Jieyou Xu (Joe)-11/+10
2024-07-17run_make_support: move `build_native_static_lib` under `external_deps`许杰友 Jieyou Xu (Joe)-50/+30
And fix some `ar`-related rebase mishaps.
2024-07-17run_make_support: make `set_host_rpath` private and move into `util`许杰友 Jieyou Xu (Joe)-24/+28