-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 13 pull requests #74208
Rollup of 13 pull requests #74208
Commits on Jul 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb9fa5b - Browse repository at this point
Copy the full SHA fb9fa5bView commit details
Commits on Jul 5, 2020
-
Explain effects of debugging options from config.toml
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bcef848 - Browse repository at this point
Copy the full SHA bcef848View commit details
Commits on Jul 6, 2020
-
Suppress debuginfo on naked function arguments
A function that has no prologue cannot be reasonably expected to support debuginfo. In fact, the existing code (before this patch) would generate invalid instructions that caused crashes. We can solve this easily by just not emitting the debuginfo in this case. Fixes rust-lang#42779 cc rust-lang#32408
Configuration menu - View commit details
-
Copy full SHA for 6b59cac - Browse repository at this point
Copy the full SHA 6b59cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5702e02 - Browse repository at this point
Copy the full SHA 5702e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97867bb - Browse repository at this point
Copy the full SHA 97867bbView commit details
Commits on Jul 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b82df31 - Browse repository at this point
Copy the full SHA b82df31View commit details -
Configuration menu - View commit details
-
Copy full SHA for b50c13c - Browse repository at this point
Copy the full SHA b50c13cView commit details -
Update rust-installer to latest version
This pulls in a fix for the install script on some tr(1) implementations, as well as an update to use `anyhow` instead of `failure` for error handling.
Configuration menu - View commit details
-
Copy full SHA for 32025fd - Browse repository at this point
Copy the full SHA 32025fdView commit details -
Add
read_exact_at
andwrite_all_at
to WASI'sFileExt
This adds `read_exact_at` and `write_all_at` to WASI's `FileExt`, similar to the Unix versions of the same names.
Configuration menu - View commit details
-
Copy full SHA for 653c091 - Browse repository at this point
Copy the full SHA 653c091View commit details -
Make WASI's FileExt's read_at/write_at consistent with other targets.
Rename the existing read_at/write_at to read_vectored_at/write_vectored_at, for consistency with libstd's read_vectored/write_vectored. And, introduce new read_at/write_at functions which take a single buffer, similar to all other targets which provide these functions, so this will make it easier for applications to share code between WASI and other targets. Note that WASI's FileExt is currently unstable.
Configuration menu - View commit details
-
Copy full SHA for 58fc61b - Browse repository at this point
Copy the full SHA 58fc61bView commit details
Commits on Jul 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3c63fba - Browse repository at this point
Copy the full SHA 3c63fbaView commit details -
Fix cross-compilation of LLVM to aarch64 Windows targets
When cross-compiling, the LLVM build system recurses to build tools that need to run on the host system. However, since we pass cmake defines to set the compiler and target, LLVM still compiles these tools for the target system, rather than the host. The tools then fail to execute during the LLVM build. This change sets defines for the tools that need to run on the host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build does not attempt to build them, and instead relies on the tools already built. If compiling with clang-cl, this change also adds the `--target` option to specify the target triple. MSVC compilers do not require this, since there is a separate compiler binary for cross-compilation.
Configuration menu - View commit details
-
Copy full SHA for 59f979f - Browse repository at this point
Copy the full SHA 59f979fView commit details -
ci: disabled: riscv: minimise docker overlays
Suggested by @bjorn3 Every RUN command creates a new overlay on top of the image as of before the RUN command. Using fewer RUN commands prevents intermediate overlays (which in this case would have contained the entire Linux source tree).
Configuration menu - View commit details
-
Copy full SHA for 51b646e - Browse repository at this point
Copy the full SHA 51b646eView commit details -
ci: fix context for disabled docker images
When the dockerfiles were moved into the host-x86_64 directory, paths for COPY commands were updated with the new host-x86_64/ prefix. This suggested that the intended context was src/ci/docker. However, the context for disabled docker images was src/ci/docker/host-x86_64. This broke the new paths and prevented src/ci/docker/scripts from being included in the context at all. This commit corrects this context allowing docker to find the files it needs for COPY commands.
Configuration menu - View commit details
-
Copy full SHA for d9fec59 - Browse repository at this point
Copy the full SHA d9fec59View commit details -
linker: illumos ld does not support --eh-frame-hdr
As of rust-lang#73564, the --eh-frame-hdr flag is unconditionally passed to linkers on many platforms. The illumos link editor does not currently support this flag. The linker machinery in the Rust toolchain currently seems to use the (potentially cross-compiled) target to choose linker flags, rather than looking at what might be running on the build system. Disabling the flag for all illumos/Solaris targets seems like the best we can do for now without more serious surgery.
Configuration menu - View commit details
-
Copy full SHA for 7fb421b - Browse repository at this point
Copy the full SHA 7fb421bView commit details
Commits on Jul 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6864546 - Browse repository at this point
Copy the full SHA 6864546View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9b6476 - Browse repository at this point
Copy the full SHA a9b6476View commit details
Commits on Jul 10, 2020
-
Rollup merge of rust-lang#73989 - RalfJung:ub-enum-test, r=oli-obk
adjust ub-enum test to be endianess-independent @cuviper noted that our test fails on "other" endianess systems (I never know which is which^^), so let's fix that.
Configuration menu - View commit details
-
Copy full SHA for 557f7b5 - Browse repository at this point
Copy the full SHA 557f7b5View commit details -
Rollup merge of rust-lang#74045 - tmiasko:config-debug, r=nikomatsakis
Explain effects of debugging options from config.toml
Configuration menu - View commit details
-
Copy full SHA for 34e4abf - Browse repository at this point
Copy the full SHA 34e4abfView commit details -
Rollup merge of rust-lang#74076 - sunfishcode:wasi-fileext-newmethods…
…, r=alexcrichton Add `read_exact_at` and `write_all_at` to WASI's `FileExt` This adds `read_exact_at` and `write_all_at` to WASI's `FileExt`, similar to the Unix versions of the same names.
Configuration menu - View commit details
-
Copy full SHA for fee1d6f - Browse repository at this point
Copy the full SHA fee1d6fView commit details -
Rollup merge of rust-lang#74105 - npmccallum:naked, r=matthewjasper
Suppress debuginfo on naked function arguments A function that has no prologue cannot be reasonably expected to support debuginfo. In fact, the existing code (before this patch) would generate invalid instructions that caused crashes. We can solve this easily by just not emitting the debuginfo in this case. Fixes rust-lang#42779 cc rust-lang#32408
Configuration menu - View commit details
-
Copy full SHA for f9ae411 - Browse repository at this point
Copy the full SHA f9ae411View commit details -
Rollup merge of rust-lang#74109 - nbdd0121:issue-74082, r=petrochenkov
Only allow `repr(i128/u128)` on enum Fixes rust-lang#74082
Configuration menu - View commit details
-
Copy full SHA for b993139 - Browse repository at this point
Copy the full SHA b993139View commit details -
Rollup merge of rust-lang#74116 - arlosi:aarch64build, r=pietroalbini
Fix cross compilation of LLVM to aarch64 Windows targets When cross-compiling, the LLVM build system recurses to build tools that need to run on the host system. However, since we pass cmake defines to set the compiler and target, LLVM still compiles these tools for the target system, rather than the host. The tools then fail to execute during the LLVM build. This change sets defines for the tools that need to run on the host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build does not attempt to build them, and instead relies on the tools already built. If compiling with clang-cl, adds the `--target` option to specify the target triple. MSVC compilers do not require this, since there is a separate compiler binary for each cross-compilation target. Related issue: rust-lang#72881 Requires LLVM change: rust-lang/llvm-project#67
Configuration menu - View commit details
-
Copy full SHA for 3ef344c - Browse repository at this point
Copy the full SHA 3ef344cView commit details -
Rollup merge of rust-lang#74125 - ayazhafiz:i/74050, r=matthewjasper
Correctly mark the ending span of a match arm Closes rust-lang#74050 r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for b7f4912 - Browse repository at this point
Copy the full SHA b7f4912View commit details -
Rollup merge of rust-lang#74129 - matklad:rust-analyzer-2020-07-07, r…
…=Mark-Simulacrum ⬆️ rust-analyzer This updates rust-analyzer submodule to the latest release. I plan to do that every Monday after rust-analyzer release (about 16:00 CET). This is semi-automated by https://github.com/rust-analyzer/rust-analyzer/pull/5253/files#diff-c06f6a9cbd0ad2421bcc2ddc28805457R77-R100. Who would be the appropriate person to r? on Mondays?
Configuration menu - View commit details
-
Copy full SHA for 2b6b053 - Browse repository at this point
Copy the full SHA 2b6b053View commit details -
Rollup merge of rust-lang#74135 - ehuss:update-books, r=ehuss
Update books ## book 3 commits in 4e7c00bece1544d409312ec93467beb62b5bd0cb..84a31397b34f9d405df44f2899ff17a4828dba18 2020-06-19 09:39:12 -0400 to 2020-07-04 10:50:18 -0500 - Update Windows install instructions (rust-lang/book#2389) - Update ch01-02-hello-world.md (rust-lang/book#2386) - bump mdbook version in github action (rust-lang/book#2380) ## reference 2 commits in 04d5d5d7ba624b6f5016298451f3a63d557f3260..0ea7bc494f1289234d8800bb9185021e0ad946f0 2020-06-16 15:08:05 -0700 to 2020-07-02 15:33:04 -0700 - Fix mis-capitalization of type name. (rust-lang/reference#844) - Fix name of trait for array indexing. (rust-lang/reference#840) ## embedded-book 1 commits in 616962ad0dd80f34d8b802da038d0aed9dd691bb..94d9ea8460bcbbbfef1877b47cb930260b5849a7 2020-06-23 16:03:45 +0000 to 2020-07-05 14:17:40 +0000 - Note on transformation of static variables by attribute exception (rust-embedded/book#251) ## rust-by-example 1 commits in 6f94ccb48da6fa4ed0031290f21411cf789f7d5e..229c6945a26a53a751ffa4f9cb418388c00029d3 2020-06-20 17:51:30 -0300 to 2020-07-06 10:13:15 -0300 - Modify comments (rust-lang/rust-by-example#1359)
Configuration menu - View commit details
-
Copy full SHA for dd65375 - Browse repository at this point
Copy the full SHA dd65375View commit details -
Rollup merge of rust-lang#74145 - michaelforney:rust-installer, r=Mar…
…k-Simulacrum Update rust-installer to latest version This pulls in a fix for the install script on some tr(1) implementations, as well as an update to use `anyhow` instead of `failure` for error handling.
Configuration menu - View commit details
-
Copy full SHA for b76b1ac - Browse repository at this point
Copy the full SHA b76b1acView commit details -
Rollup merge of rust-lang#74161 - tblah:riscv64gc-dockerfile-improvme…
…nt, r=Mark-Simulacrum Fix disabled dockerfiles When the dockerfiles were moved into the host-x86_64 directory, paths for COPY commands were updated with the new host-x86_64/ prefix. This suggested that the intended context was src/ci/docker. However, the context for disabled docker images was src/ci/docker/host-x86_64. This broke the new paths and prevented src/ci/docker/scripts from being included in the context at all. This commit corrects this context allowing docker to find the files it needs for COPY commands. Also includes a quick fix to riscv recommended by @bjorn3
Configuration menu - View commit details
-
Copy full SHA for f728bb2 - Browse repository at this point
Copy the full SHA f728bb2View commit details -
Rollup merge of rust-lang#74167 - jclulow:illumos-linker-eh-frame-hdr…
…-fix, r=petrochenkov linker: illumos ld does not support --eh-frame-hdr As of rust-lang#73564, the --eh-frame-hdr flag is unconditionally passed to linkers on many platforms. The illumos link editor does not currently support this flag. The linker machinery in the Rust toolchain currently seems to use the (potentially cross-compiled) target to choose linker flags, rather than looking at what might be running on the build system. Disabling the flag for all illumos/Solaris targets seems like the best we can do for now without more serious surgery.
Configuration menu - View commit details
-
Copy full SHA for 6c73e61 - Browse repository at this point
Copy the full SHA 6c73e61View commit details -
Rollup merge of rust-lang#74168 - JohnTitor:help-for-in-band-lifetime…
…s, r=petrochenkov Add a help to use `in_band_lifetimes` in nightly Fixes rust-lang#73775
Configuration menu - View commit details
-
Copy full SHA for 8ba2bfc - Browse repository at this point
Copy the full SHA 8ba2bfcView commit details