Tree: 8a0e5faec7
-
Auto merge of #58003 - nikic:saturating-add, r=nagisa
Use LLVM intrinsics for saturating add/sub Use the `[su](add|sub).sat` LLVM intrinsics, if we're compiling against LLVM 8, as they should optimize and codegen better than IR based on `[su](add|sub).with.overlow`. For the fallback for LLVM < 8 I'm using the same expansion that target lowering in LLVM uses, which is not the same as Rust currently uses (in particular due to the use of selects rather than branches). Fixes #55286. Fixes #52203. Fixes #44500. r? @nagisa
-
Auto merge of #57514 - michaelwoerister:xlto-tests, r=alexcrichton
compiletest: Support opt-in Clang-based run-make tests and use them for testing xLTO. Some cross-language run-make tests need a Clang compiler that matches the LLVM version of `rustc`. Since such a compiler usually isn't available these tests (marked with the `needs-matching-clang` directive) are ignored by default. For some CI jobs we do need these tests to run unconditionally though. In order to support this a `--force-clang-based-tests` flag is added to compiletest. If this flag is specified, `compiletest` will fail if it can't detect an appropriate version of Clang. @rust-lang/infra The PR doesn't yet enable the tests yet. Do you have any recommendation for which jobs to enable them? cc #57438 r? @alexcrichton
-
Auto merge of #58016 - Centril:rollup, r=Centril
Rollup of 12 pull requests Successful merges: - #57008 (suggest `|` when `,` founds in invalid match value) - #57106 (Mark str::trim.* functions as #[must_use].) - #57920 (use `SOURCE_DATE_EPOCH` for man page time if set) - #57934 (Introduce into_raw_non_null on Rc and Arc) - #57971 (SGX target: improve panic & exit handling) - #57980 (Add the edition guide to the bookshelf) - #57984 (Improve bug message in check_ty) - #57999 (Add MOVBE x86 CPU feature) - #58000 (Fixes and cleanups) - #58005 (update docs for fix_start/end_matches) - #58007 (Don't panic when accessing enum variant ctor using `Self` in match) - #58008 (Pass correct arguments to places_conflict) Failed merges: r? @ghost
-
Rollup merge of #58008 - matthewjasper:places-conflict-args, r=oli-obk
Pass correct arguments to places_conflict The borrow place *must* be a place that we track borrows for, otherwise we will likely ICE. Closes #57989
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #58007 - estebank:issue-58006, r=petrochenkov
Centril committedJan 31, 2019 Don't panic when accessing enum variant ctor using `Self` in match Fix #58006. r? @petrochenkov
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #58005 - vitiral:docs_trim_start_matches, r=Manishearth
Centril committedJan 31, 2019 update docs for fix_start/end_matches fixes #57686:
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #58000 - oli-obk:fixes_and_cleanups, r=RalfJung
Centril committedJan 31, 2019 Fixes and cleanups Address the points raised in https://github.com/rust-lang/rust/pull/57677/files by @eddyb and @RalfJung
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57999 - jethrogb:jb/movbe-feature, r=alexcrichton
Centril committedJan 31, 2019 Add MOVBE x86 CPU feature I have no idea if this is correct. I basically copied the ADX feature. I verified the feature is also called `movbe` in LLVM. I marked this to become stable immediately, as part of the RFC 2045. r? @alexcrichton
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57984 - phansch:improve_check_ty_error, r=zackmdavis
Centril committedJan 31, 2019 Improve bug message in check_ty This branch was hit in Clippy and I think it would be nice to show the thing that was unexpected in the bug message. It's also in line with the other `bug!` messages in `check_ty`.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57980 - siddharthasahu:patch-1, r=QuietMisdreavus
Centril committedJan 31, 2019 Add the edition guide to the bookshelf
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57971 - jethrogb:jb/sgx-panic, r=alexcrichton
Centril committedJan 31, 2019 SGX target: improve panic & exit handling Implement this part of the spec: > The enclave must not rely on userspace to terminate other threads still running. Similarly, the enclave must not trust that it will no longer be entered by userspace, and it must safeguard against that in the entrypoints. Also use `UserRef` to access panic buffer r? @alexcrichton cc @VardhanThigle
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57934 - dwijnand:from-Arc/Rc-to-NonNull, r=alexcrichton
Centril committedJan 31, 2019 Introduce into_raw_non_null on Rc and Arc None
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57920 - euclio:source-date-epoch, r=Mark-Simulacrum
Centril committedJan 31, 2019 use `SOURCE_DATE_EPOCH` for man page time if set Fixes #57776.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57106 - matthiaskrgr:trim_must_use, r=sfackler
Centril committedJan 31, 2019 Mark str::trim.* functions as #[must_use]. The functions return a reference to a new object and do not modify in-place as the following code shows: ```` let s = String::from(" hello "); s.trim(); assert_eq!(s, " hello "); ```` The new reference should be bound to a variable as now indicated by #[must_use].
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Rollup merge of #57008 - Knium:misleading-try-adding-parentheses-in-m…
Centril committedJan 31, 2019 …atch-with-comma, r=oli-obk suggest `|` when `,` founds in invalid match value Issue #54807 I get stuck on (what | how) I should implement...
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Auto merge of #57974 - llogiq:vec-deque-try-fold, r=alexcrichton
override `VecDeque`'s `Iter::try_fold` This should improve performance (wherever it is used), but I haven't found the time to benchmark it yet.
-
Pass correct arguments to places_conflict
The borrow place *must* be a place that we track borrows for, otherwise we will likely ICE.
-
-
Improve bug message in check_ty
This branch was hit in Clippy and I think it would be nice to show the thing that was unexpected in the bug message. It's also in line with the other `bug!` messages in `check_ty`.
Verified
This commit was signed with a verified signature.phansch Philipp Hansch
GPG key ID: B6FA06A6E0E2665B Learn about signing commits -
fix #57686: update docs for fix_start/end_matches
Rett Berg committedJan 30, 2019 Loading status checks… -
-
Prefer macro over manual implementation
oli-obk committedJan 30, 2019 -
Auto merge of #57495 - jamesmunns:mdbook-compat, r=steveklabnik
Support multiple versions of MdBook for docs Only the compatibility items from the embedded book PR. PR with embedded book components: #56291 CC @steveklabnik, @ehuss, and rust-lang-nursery/edition-guide#134
-
Jethro Beekman committed
Jan 30, 2019 Loading status checks… -
-
bootstrap: Expose LLVM_USE_LINKER cmake option to config.toml.
michaelwoerister committedJan 30, 2019 -
ci: Use clang as the C++ compiler for x86_64-gnu-debug.
michaelwoerister committedJan 28, 2019 -
bootstrap: Make LLD available to run-make tests.
michaelwoerister committedJan 25, 2019 -
michaelwoerister committed
Jan 24, 2019 -
-
-
-
oli-obk committed
Jan 30, 2019