-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 8 pull requests #50775
Rollup of 8 pull requests #50775
Commits on May 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a0f23d1 - Browse repository at this point
Copy the full SHA a0f23d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d94bd - Browse repository at this point
Copy the full SHA 66d94bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0068f40 - Browse repository at this point
Copy the full SHA 0068f40View commit details
Commits on May 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e0fd4e1 - Browse repository at this point
Copy the full SHA e0fd4e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1a4291 - Browse repository at this point
Copy the full SHA f1a4291View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f0c2d - Browse repository at this point
Copy the full SHA a8f0c2dView commit details
Commits on May 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 56f505e - Browse repository at this point
Copy the full SHA 56f505eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6532c48 - Browse repository at this point
Copy the full SHA 6532c48View commit details -
Don't unconditionally set CLOEXEC twice on every fd we open on Linux
Previously, every `open64` was accompanied by a `ioctl(…, FIOCLEX)`, because some old Linux version would ignore the `O_CLOEXEC` flag we pass to the `open64` function. Now, we check whether the `CLOEXEC` flag is set on the first file we open – if it is, we won't do extra syscalls for every opened file. If it is not set, we fall back to the old behavior of unconditionally calling `ioctl(…, FIOCLEX)` on newly opened files. On old Linuxes, this amounts to one extra syscall per process, namely the `fcntl(…, F_GETFD)` call to check the `CLOEXEC` flag. On new Linuxes, this reduces the number of syscalls per opened file by one, except for the first file, where it does the same number of syscalls as before (`fcntl(…, F_GETFD)` to check the flag instead of `ioctl(…, FIOCLEX)` to set it).
Configuration menu - View commit details
-
Copy full SHA for 6d1da82 - Browse repository at this point
Copy the full SHA 6d1da82View commit details -
It was introduced in rust-lang#50240 to avoid an allocation when creating a new BTreeMap, which gave some speed-ups. But then rust-lang#50352 made that the default behaviour for BTreeMap, so LazyBTreeMap is no longer necessary.
Configuration menu - View commit details
-
Copy full SHA for f46b888 - Browse repository at this point
Copy the full SHA f46b888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3566ea8 - Browse repository at this point
Copy the full SHA 3566ea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc1db0 - Browse repository at this point
Copy the full SHA 6bc1db0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3fd12f - Browse repository at this point
Copy the full SHA c3fd12fView commit details
Commits on May 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0370c38 - Browse repository at this point
Copy the full SHA 0370c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d9502 - Browse repository at this point
Copy the full SHA 30d9502View commit details -
Unblocking PRs: - rust-lang/cargo#5535 - Ignore <tab> in libtest output. (unblocks rust-lang#50387) - rust-lang/cargo#5537 - Remove -Zno-trans test. (unblocks rust-lang#50615) - rust-lang/cargo#5540 - Fix tests when CARGO_TARGET_DIR is set. (unblocks self) Regression fixes: - rust-lang/cargo#5503 - cargo rustc broken for tests in project with bins - rust-lang/cargo#5520 - (rust-lang#50640) shared proc-macro dependency built incorrectly Changes: - rust-lang/cargo#5527 - Point Source Replacement to the Overriding Dependencies section - rust-lang/cargo#5533 - Detail how to run locally-built nightly cargo - rust-lang/cargo#5522 - Add option to set user-agent - rust-lang/cargo#5519 - NFC: fix a couple of typos, found by codespell. - rust-lang/cargo#5513 - Fix `panic` for binaries built during tests. - rust-lang/cargo#5512 - simplify build_requirements - rust-lang/cargo#5301 - Add --build-plan for 'cargo build' - rust-lang/cargo#5460 - Be more conservative about which files are linked to the output dir. - rust-lang/cargo#5509 - Use the new stable - rust-lang/cargo#5507 - Does not print seconds fraction with minutes - rust-lang/cargo#5498 - Bump to 0.29.0 - rust-lang/cargo#5497 - Mention +nightly in ARCHITECTURE.md
Configuration menu - View commit details
-
Copy full SHA for b5817dd - Browse repository at this point
Copy the full SHA b5817ddView commit details -
Rollup merge of rust-lang#50521 - gnzlbg:simd_float, r=alexcrichton
Add simd math intrinsics and gather/scatter This PR adds simd math intrinsics for floating-point vectors (sqrt, sin, cos, pow, exp, log, fma, abs, etc.) and the generic simd gather/scatter intrinsics.
Configuration menu - View commit details
-
Copy full SHA for fcea9b1 - Browse repository at this point
Copy the full SHA fcea9b1View commit details -
Rollup merge of rust-lang#50541 - QuietMisdreavus:rustdoc-errors, r=G…
…uillaumeGomez rustdoc: replace most (e)println! statements with structured warnings/errors Turns out, the rustc diagnostic handler doesn't need a whole lot of setup that we weren't already doing. For errors that occur outside a "dealing with source code" context, we can just use the format/color config we were already parsing and make up a `Handler` that we can emit structured warnings/errors from. So i did that. This will make it way easier to test things with `rustdoc-ui` tests, since those require the JSON error output. (In fact, this PR is a yak shave for a different one where i was trying to do just that. `>_>`)
Configuration menu - View commit details
-
Copy full SHA for e30551f - Browse repository at this point
Copy the full SHA e30551fView commit details -
Rollup merge of rust-lang#50638 - tbu-:pr_open_cloexec_once, r=nagisa
Don't unconditionally set CLOEXEC twice on every fd we open on Linux Previously, every `open64` was accompanied by a `ioctl(…, FIOCLEX)`, because some old Linux version would ignore the `O_CLOEXEC` flag we pass to the `open64` function. Now, we check whether the `CLOEXEC` flag is set on the first file we open – if it is, we won't do extra syscalls for every opened file. If it is not set, we fall back to the old behavior of unconditionally calling `ioctl(…, FIOCLEX)` on newly opened files. On old Linuxes, this amounts to one extra syscall per process, namely the `fcntl(…, F_GETFD)` call to check the `CLOEXEC` flag. On new Linuxes, this reduces the number of syscalls per opened file by one, except for the first file, where it does the same number of syscalls as before (`fcntl(…, F_GETFD)` to check the flag instead of `ioctl(…, FIOCLEX)` to set it).
Configuration menu - View commit details
-
Copy full SHA for 9abfea6 - Browse repository at this point
Copy the full SHA 9abfea6View commit details -
Rollup merge of rust-lang#50696 - ehuss:cargo-update, r=alexcrichton
Update Cargo Unblocking PRs: - rust-lang/cargo#5535 - Ignore <tab> in libtest output. (unblocks rust-lang#50387) - rust-lang/cargo#5537 - Remove -Zno-trans test. (unblocks rust-lang#50615) - rust-lang/cargo#5540 - Fix tests when CARGO_TARGET_DIR is set. (unblocks self) Regression fixes: - rust-lang/cargo#5503 - cargo rustc broken for tests in project with bins - rust-lang/cargo#5520 - (rust-lang#50640) shared proc-macro dependency built incorrectly Changes: - rust-lang/cargo#5527 - Point Source Replacement to the Overriding Dependencies section - rust-lang/cargo#5533 - Detail how to run locally-built nightly cargo - rust-lang/cargo#5522 - Add option to set user-agent - rust-lang/cargo#5519 - NFC: fix a couple of typos, found by codespell. - rust-lang/cargo#5513 - Fix `panic` for binaries built during tests. - rust-lang/cargo#5512 - simplify build_requirements - rust-lang/cargo#5301 - Add --build-plan for 'cargo build' - rust-lang/cargo#5460 - Be more conservative about which files are linked to the output dir. - rust-lang/cargo#5509 - Use the new stable - rust-lang/cargo#5507 - Does not print seconds fraction with minutes - rust-lang/cargo#5498 - Bump to 0.29.0 - rust-lang/cargo#5497 - Mention +nightly in ARCHITECTURE.md
Configuration menu - View commit details
-
Copy full SHA for b2200b4 - Browse repository at this point
Copy the full SHA b2200b4View commit details -
Rollup merge of rust-lang#50726 - udoprog:read2-inner-fn, r=alexcrichton
read2: Use inner function instead of closure Very minor thing, but there doesn't appear to be a reason to use a closure here. Generated code is identical in my tests, but I believe it's clearer that nothing from the environment is being used.
Configuration menu - View commit details
-
Copy full SHA for c48f925 - Browse repository at this point
Copy the full SHA c48f925View commit details -
Rollup merge of rust-lang#50740 - nnethercote:rm-LazyBTreeMap, r=cram…
…ertj Remove LazyBTreeMap. It was introduced in rust-lang#50240 to avoid an allocation when creating a new BTreeMap, which gave some speed-ups. But then rust-lang#50352 made that the default behaviour for BTreeMap, so LazyBTreeMap is no longer necessary.
Configuration menu - View commit details
-
Copy full SHA for 5a8e1ad - Browse repository at this point
Copy the full SHA 5a8e1adView commit details -
Rollup merge of rust-lang#50752 - GuillaumeGomez:more-error-code-in-l…
…ibsyntax-ext, r=frewsxcv Add missing error codes in libsyntax-ext asm
Configuration menu - View commit details
-
Copy full SHA for 5030038 - Browse repository at this point
Copy the full SHA 5030038View commit details -
Rollup merge of rust-lang#50767 - oli-obk:rls_clippy, r=kennytm
Don't inject clippy into the rls anymore r? @kennytm sorry about breaking nightlies. The issue is that the `[patch.crates-io]` doesn't work if the versions differ. So every time we update clippy, we can only update it to the verison that rls is depending on. I'm disabling the injection of clippy into rls for now. I'm not sure how to do this properly. We could * add a version check, so rls only builds clippy if its dependency clippy is the same as the submodule clippy * do something crazy like auto-patching the Cargo.toml of the rls tool repo to just use a path dependency on clippy * build crates-io clippy instead of submodule clippy and gate clippy injection on that * that's somewhat automatic, and is essentially what is necessary right now, but done manually * make clippy 0.1.* instead of 0.0.* and update patch versions for nightly updates and minor version updates for `clippy_lints` api changes. * not sure how semver-great this is
Configuration menu - View commit details
-
Copy full SHA for e74f5e8 - Browse repository at this point
Copy the full SHA e74f5e8View commit details