about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2024-06-18Auto merge of #126623 - oli-obk:do_not_count_errors, r=davidtwcobors-915/+773
Replace all `&DiagCtxt` with a `DiagCtxtHandle<'_>` wrapper type r? `@davidtwco` This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle Basically I will add a field to the `DiagCtxtHandle` that refers back to the `InferCtxt`'s (and others) `Option<ErrorHandled>`, allowing us to immediately taint these contexts when emitting an error and not needing manual tainting anymore (which is easy to forget and we don't do in general anyway)
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-542/+361
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-328/+363
This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle
2024-06-18Auto merge of #126630 - GuillaumeGomez:rollup-hlwbpa2, r=GuillaumeGomezbors-88/+992
Rollup of 5 pull requests Successful merges: - #125988 (Migrate `run-make/used` to `rmake.rs`) - #126500 (Migrate `error-found-staticlib-instead-crate`, `output-filename-conflicts-with-directory`, `output-filename-overwrites-input`, `native-link-modifier-verbatim-rustc` and `native-link-verbatim-linker` `run-make` tests to `rmake.rs` format) - #126583 (interpret: better error when we ran out of memory) - #126587 (coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`) - #126621 (More thorough status-quo tests for `#[coverage(..)]`) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-58/+62
2024-06-18Use a more precise lifetimeOli Scherer-4/+4
2024-06-18Rollup merge of #126621 - Zalathar:test-coverage-attr, r=petrochenkovGuillaume Gomez-0/+604
More thorough status-quo tests for `#[coverage(..)]` In light of the stabilization push at https://github.com/rust-lang/rust/issues/84605#issuecomment-2166514660, I have written some tests to more thoroughly capture the current behaviour of the `#[coverage(..)]` attribute. These tests aim to capture the *current* behaviour, which is not necessarily the desired behaviour. For example, some of the error message are not great, some things that perhaps ought to cause an error do not, and recursive coverage attributes have not been implemented yet. `@rustbot` label +A-code-coverage
2024-06-18Rollup merge of #126587 - Zalathar:no-mir-spans, r=oli-obkGuillaume Gomez-20/+234
coverage: Add debugging flag `-Zcoverage-options=no-mir-spans` When set, this flag skips the code that normally extracts coverage spans from MIR statements and terminators. That sometimes makes it easier to debug branch coverage and MC/DC coverage instrumentation, because the coverage output is less noisy. For internal debugging only. If future code changes would make it hard to keep supporting this flag, it should be removed at that time. `@rustbot` label +A-code-coverage
2024-06-18Rollup merge of #126583 - RalfJung:interpret-oom, r=saethlinGuillaume Gomez-2/+5
interpret: better error when we ran out of memory
2024-06-18Rollup merge of #126500 - Oneirical:test-for-the-holy-grail, r=jieyouxuGuillaume Gomez-58/+134
Migrate `error-found-staticlib-instead-crate`, `output-filename-conflicts-with-directory`, `output-filename-overwrites-input`, `native-link-modifier-verbatim-rustc` and `native-link-verbatim-linker` `run-make` tests to `rmake.rs` format Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
2024-06-18Rollup merge of #125988 - GuillaumeGomez:migrate-run-make-used, r=jieyouxuGuillaume Gomez-8/+15
Migrate `run-make/used` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-18Auto merge of #126437 - Oneirical:test-we-forget, r=jieyouxubors-44/+109
Migrate `issue-64153`, `invalid-staticlib` and `no-builtins-lto` `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: x86_64-msvc
2024-06-18Add more thorough coverage tests for `#[coverage(..)]` in nested functionsZalathar-0/+468
These tests reflect the current implementation behaviour, which is not necessarily the desired behaviour.
2024-06-18Add a more thorough test of incorrect/unusal `#[coverage(..)]` syntaxZalathar-0/+136
This test reflects the current implementation behaviour, which is not necessarily the desired behaviour.
2024-06-18Create `tests/ui/coverage-attr/`Zalathar-0/+0
2024-06-18Auto merge of #126049 - compiler-errors:rework-use, r=oli-obkbors-574/+628
Rework `feature(precise_capturing)` to represent `use<...>` as a syntactical bound Reworks `precise_capturing` for a recent lang-team consensus. Specifically: > The conclusion of the team is that we'll make use<..> a bound. That is, we'll support impl use<..> + Trait, impl Trait + use<..>, etc. > For now, we will support at most one such bound in a list of bounds, and semantically we'll only support these bounds in the item bounds of RPIT-like impl Trait opaque types (i.e., in the places discussed in the RFC). Lang decision in favor of this approach: - https://github.com/rust-lang/rust/issues/125836#issuecomment-2151351849 Tracking: - https://github.com/rust-lang/rust/issues/123432
2024-06-18Auto merge of #126330 - m-ou-se:panic-message-type, r=Amanieubors-11/+79
Return opaque type from PanicInfo::message() This changes the return type of the (unstable) PanicInfo::message() method to an opaque type (that implements Display). This allows for a bit more flexibility in the future. See https://github.com/rust-lang/rust/issues/66745
2024-06-18Auto merge of #126591 - petrochenkov:upctxt5, r=nnethercotebors-30/+11
[perf] More span update benchmarking https://github.com/rust-lang/rust/pull/126544#issuecomment-2173187242
2024-06-18Auto merge of #126490 - Oneirical:testicide, r=jieyouxubors-86/+137
Migrate `extern-flag-fun`, `incremental-debugger-visualiser` and `incremental-session-fail` `run-make` tests to `rmake.rs` 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: arm-android try-job: armhf-gnu try-job: test-various try-job: x86_64-msvc try-job: dist-i686-mingw
2024-06-17Delay a bug and mark precise_capturing as not incompleteMichael Goulet-230/+53
2024-06-17Fix other toolsMichael Goulet-4/+3
2024-06-17Fix rustfmtMichael Goulet-7/+9
2024-06-17Detect duplicatesMichael Goulet-8/+78
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-5/+122
2024-06-17Rework precise capturing syntaxMichael Goulet-349/+405
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in ↵Michael Goulet-51/+38
parse_precise_capturing_syntax
2024-06-18Auto merge of #126279 - Oneirical:you-can-run-make-but-cannot-hide, r=jieyouxubors-53/+112
Migrate `inaccessible-temp-dir`, `output-with-hyphens` and `issue-10971-temps-dir` `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: x86_64-msvc
2024-06-17Auto merge of #125500 - Oneirical:bundle-them-up-why-not, r=jieyouxubors-42/+107
Migrate `link-arg`, `link-dedup` and `issue-26092` `run-make` tests to `rmake` format Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). All of these tests check if rustc's output contains (or does not) contain certain strings. Does that mean these could be better suited to becoming UI/codegen tests? try-job: x86_64-msvc
2024-06-17rewrite no-builtins-lto to rmakeOneirical-11/+24
2024-06-17Auto merge of #126605 - matthiaskrgr:rollup-plsaytq, r=matthiaskrgrbors-456/+467
Rollup of 6 pull requests Successful merges: - #126255 (fix checking git submodules during a commit hook) - #126355 (Pass target to some run-make tests) - #126567 (Rename `InstanceDef` -> `InstanceKind`) - #126579 (Fix broken documentation link) - #126596 (Add tracking issue number to async_drop APIs) - #126603 (Update books) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-17rewrite native-link-modifier-linker to rmakeOneirical-19/+50
2024-06-17Add PanicMessage type for PanicInfo::message().Mara Bos-11/+79
2024-06-17Add new test_while_readonly helper function to run-make-supportOneirical-25/+52
2024-06-17Rollup merge of #126603 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/book 5 commits in 5228bfac8267ad24659a81b92ec5417976b5edbc..45c1a6d69edfd1fc91fb7504cb73958dbd09441e 2024-06-14 16:25:20 UTC to 2024-06-11 13:43:29 UTC - Convert Chapters 12-14 (rust-lang/book#3959) - Fix a typo in `ADMIN_TASKS` (rust-lang/book#3958) - Swap inconsistent `assert_eq!` argument order in testing chapter (rust-lang/book#3497) - Convert chapter 11 to use Listing component (rust-lang/book#3955) - Convert ch02 and ch03 listings to `<Listing>` (rust-lang/book#3926) ## rust-lang/edition-guide 5 commits in bbaabbe088e21a81a0d9ae6757705020d5d7b416..cb58c430b4e8054c2cb81d2d4434092c482a93d8 2024-06-13 16:52:10 UTC to 2024-06-06 21:19:03 UTC - Merge PR #307: Add IntoIterator for Box<[T]> in 2024 - "cargo fix" now removes "extern crate" statements (rust-lang/edition-guide#305) - typo (rust-lang/edition-guide#306) - Remove public/private dependencies from 2024 (rust-lang/edition-guide#303) - Add stub for macro fragment matcher updates (rust-lang/edition-guide#302) ## rust-lang/reference 1 commits in 6019b76f5b28938565b251bbba0bf5cc5c43d863..0b805c65804019b0ac8f2fe3117afad82a6069b8 2024-06-07 16:06:44 UTC to 2024-06-07 16:06:44 UTC - union syntax fix for empty field list (rust-lang/reference#1509) ## rust-lang/rust-by-example 4 commits in 4840dca06cadf48b305d3ce0aeafde7f80933f80..b1d97bd6113aba732b2091ce093c76f2d05bb8a0 2024-06-17 12:45:15 UTC to 2024-06-06 11:44:38 UTC - Update ja.po and mdbook-i18n-helpers (rust-lang/rust-by-example#1863) - Fix typo (rust-lang/rust-by-example#1861) - Update instruction to add language entry of TRANSLATING.md (rust-lang/rust-by-example#1860) - Incorrect variable name according to comments (rust-lang/rust-by-example#1858) ## rust-lang/rustc-dev-guide 10 commits in 6a7374bd87cbac0f8be4fd4877d8186d9c313985..aec82168dd3121289a194b381f56076fc789a4d2 2024-06-16 06:39:57 UTC to 2024-06-04 05:31:05 UTC - tell about `STAGE0_MISSING_TARGETS` for new targets (rust-lang/rustc-dev-guide#1996) - Rewrite CI documentation (rust-lang/rustc-dev-guide#1972) - Compiletest docs for recently-added features (rust-lang/rustc-dev-guide#1994) - Add {{target}} to header substitutions (rust-lang/rustc-dev-guide#1995) - run-make: add tip about quick-compile with stage0 rustc (rust-lang/rustc-dev-guide#1993) - Mention `COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS` in `needs-llvm-components` documentation (rust-lang/rustc-dev-guide#1990) - Add run-make port initiative to the Recurring work section (rust-lang/rustc-dev-guide#1992) - Document the `//@ unused-revision-names:` test header (rust-lang/rustc-dev-guide#1991) - Fix dead links (rust-lang/rustc-dev-guide#1988) - use `&` to load completions for PowerShell (rust-lang/rustc-dev-guide#1978)
2024-06-17Rollup merge of #126596 - zetanumbers:async-drop-tracking-issue, r=petrochenkovMatthias Krüger-13/+13
Add tracking issue number to async_drop APIs Relates to tracking issue #126482 r? ``@petrochenkov``
2024-06-17Rollup merge of #126579 - ChoKyuWon:master, r=TaKO8KiMatthias Krüger-1/+1
Fix broken documentation link The original doc link on the comment was broken, so fix it to the proper link.
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-421/+424
Rename `InstanceDef` -> `InstanceKind` Renames `InstanceDef` to `InstanceKind`. The `Def` here is confusing, and makes it hard to distinguish `Instance` and `InstanceDef`. `InstanceKind` makes this more obvious, since it's really just describing what *kind* of instance we have. Not sure if this is large enough to warrant a types team MCP -- it's only 53 files. I don't personally think it does, but happy to write one if anyone disagrees. cc ``@rust-lang/types`` r? types
2024-06-17Rollup merge of #126355 - ferrocene:hoverbear/run-make-pass-target, r=KobzolMatthias Krüger-1/+2
Pass target to some run-make tests <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r​? <reviewer name> --> While trying to enable riscv64gc in https://github.com/rust-lang/rust/pull/125669, I noticed several tests failing in https://github.com/rust-lang/rust/actions/runs/9454116367/job/26040977376. I spoke a bit with `@pietroalbini` and he recommended this approach to resolving the issue. This PR interacts with https://github.com/rust-lang/rust/pull/126279, and it is likely preferable that https://github.com/rust-lang/rust/pull/126279 merges and my changes in ae769f930e2510e57ed8bd379b1b2d393b2312c3 get removed from this PR. ## Testing > [!NOTE] > `riscv64gc-unknown-linux-gnu` is a [**Tier 2 with Host Tools** platform](https://doc.rust-lang.org/beta/rustc/platform-support.html), all tests may not necessarily pass! There is work in https://github.com/rust-lang/rust/pull/125220 which helps fix several related tests. You can test out the renamed job: ```sh DEPLOY=1 ./src/ci/docker/run.sh riscv64gc-gnu ``` `DEPLOY=1` helps reproduce the CI's environment and also avoids the chance of a `llvm-c/BitReader.h` error (detailed in https://github.com/rust-lang/rust/issues/85424 and https://github.com/rust-lang/rust/issues/56650). <details> <summary>tests/run-make/inaccessible-temp-dir failure</summary> ```bash ---- [run-make] tests/run-make/inaccessible-temp-dir stdout ---- # ... --- stdout ------------------------------- # Create an inaccessible directory mkdir /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/inaccessible chmod 000 /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/inaccessible # Run rustc with `-Ztemps-dir` set to a directory # *inside* the inaccessible one, so that it can't create it LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" '/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir -L /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir -Ainternal_features -Clinker='riscv64-linux-gnu-gcc' program.rs -Ztemps-dir=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/inaccessible/tmp 2>&1 \ | "/checkout/src/etc/cat-and-grep.sh" 'failed to find or create the directory specified by `--temps-dir`' [[[ begin stdout ]]] error: linking with `riscv64-linux-gnu-gcc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "riscv64-linux-gnu-gcc" "-m64" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/rustcHHUPmd/symbols.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/inaccessible/tmp/program.program.45572bc5f2b14090-cgu.0.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/inaccessible/tmp/program.dv9uftjrq86w5xa7l2eo7g9l7.rcgu.o" "-Wl,--as-needed" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e6e3c30ae61f5a31.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4f01f359c61a0a5e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-02c7b58963139ffd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-b66d5aea60ed3c58.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5208f104036103e4.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-fdc5183e4f6dcbdd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-eab0987d4aea0945.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-7ef07c8021adbf53.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-35ca031413717e66.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9bf8f545a9224c8a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d6c6aeb7f3b89252.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-80de6049595b0062.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-49619208c34115e6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b4719719d9691028.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-279763368bc9fa45.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-86a2a7591afd1d37.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d0bf37205fb9f76a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-70719e8645e6f000.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-97c640fd5e54ed4c.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/inaccessible-temp-dir/inaccessible-temp-dir/program" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: riscv64-linux-gnu-gcc: error: unrecognized command-line option '-m64' error: aborting due to 1 previous error [[[ end stdout ]]] Error: cannot match: failed to find or create the directory specified by `--temps-dir` ------------------------------------------ --- stderr ------------------------------- make: *** [Makefile:26: all] Error 1 ------------------------------------------ ``` </details> <details> <summary>tests/run-make/issue-47551 failure</summary> ```bash ---- [run-make] tests/run-make/issue-47551 stdout ---- # ... --- stdout ------------------------------- LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" '/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551 -L /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551 -Ainternal_features -Clinker='riscv64-linux-gnu-gcc' eh_frame-terminator.rs ------------------------------------------ --- stderr ------------------------------- error: linking with `riscv64-linux-gnu-gcc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "riscv64-linux-gnu-gcc" "-m64" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551/rustcL9WAHK/symbols.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551/eh_frame-terminator.eh_frame_terminator.de96000750278472-cgu.0.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551/eh_frame-terminator.11u7alf4d09fd9gei30vk4yzn.rcgu.o" "-Wl,--as-needed" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e6e3c30ae61f5a31.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4f01f359c61a0a5e.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-02c7b58963139ffd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-b66d5aea60ed3c58.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5208f104036103e4.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-fdc5183e4f6dcbdd.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-eab0987d4aea0945.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-7ef07c8021adbf53.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-35ca031413717e66.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9bf8f545a9224c8a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d6c6aeb7f3b89252.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-80de6049595b0062.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-49619208c34115e6.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b4719719d9691028.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-279763368bc9fa45.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-86a2a7591afd1d37.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d0bf37205fb9f76a.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-70719e8645e6f000.rlib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-97c640fd5e54ed4c.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/issue-47551/issue-47551/eh_frame-terminator" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: riscv64-linux-gnu-gcc: error: unrecognized command-line option '-m64' error: aborting due to 1 previous error make: *** [Makefile:7: all] Error 1 ------------------------------------------ failures: [run-make] tests/run-make/inaccessible-temp-dir [run-make] tests/run-make/issue-47551 test result: FAILED. 151 passed; 2 failed; 201 ignored; 0 measured; 0 filtered out; finished in 59.77s Some tests failed in compiletest suite=run-make mode=run-make host=x86_64-unknown-linux-gnu target=riscv64gc-unknown-linux-gnu Build completed unsuccessfully in 1:03:01 local time: Mon Jun 10 20:20:39 UTC 2024 network time: Mon, 10 Jun 2024 20:20:39 GMT </details> try-job: riscv64gc-gnu
2024-06-17Rollup merge of #126255 - RalfJung:bootstrap-submodules, r=onur-ozkanMatthias Krüger-20/+27
fix checking git submodules during a commit hook Fixes https://github.com/rust-lang/rust/issues/125954 The one thing that still puzzles me is why this only is a problem with worktrees. r? `@onur`
2024-06-17Rewrite and rename `issue-26092` to rmakeOneirical-67/+83
2024-06-17rewrite incremental-session-fail to rmakeOneirical-49/+52
2024-06-17Update booksrustbot-0/+0
2024-06-17rewrite `link-dedup` to rmakeOneirical-1/+32
2024-06-17Rewrite `link-arg` in rmake.rsOneirical-6/+24
2024-06-17Auto merge of #126593 - matthiaskrgr:rollup-a5jfg7w, r=matthiaskrgrbors-50/+161
Rollup of 3 pull requests Successful merges: - #126568 (mark undetermined if target binding in current ns is not got) - #126577 (const_refs_to_static test and cleanup) - #126584 (Do not ICE in privacy when type inference fails.) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-17Add tracking issue to async_drop APIDaria Sukhonina-13/+13
2024-06-17fix checking git submodules during a commit hookRalf Jung-20/+27
2024-06-17Rollup merge of #126584 - cjgillot:issue-122736, r=michaelwoeristerMatthias Krüger-3/+34
Do not ICE in privacy when type inference fails. Fixes https://github.com/rust-lang/rust/issues/122736
2024-06-17Rollup merge of #126577 - oli-obk:static_valtrees, r=RalfJungMatthias Krüger-9/+26
const_refs_to_static test and cleanup r? ``@RalfJung`` test the existing behaviour of adt_const_params combined with const_refs_to_static. also remove a dead error variant about consts referring to statics
2024-06-17Rollup merge of #126568 - bvanjoi:fix-126376, r=petrochenkovMatthias Krüger-38/+101
mark undetermined if target binding in current ns is not got Fixes #126376 Fixes #126389 Add a branch to handle more cases... r? `@petrochenkov`