-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 7 pull requests #42010
Rollup of 7 pull requests #42010
Commits on May 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 63ecd6a - Browse repository at this point
Copy the full SHA 63ecd6aView commit details
Commits on May 14, 2017
-
Explain why
thread::yield_now
could be used.Part of rust-lang#29378.
Felix Raimundo committedMay 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a9cb094 - Browse repository at this point
Copy the full SHA a9cb094View commit details -
Improve
thread::Builder
documentation.Part of rust-lang#29378 . - In particular explains *why* we would use the builder instead of the free function. - Changes the parent-child explanation for a spawned-caller. - Add link to `io::Result` in `thread::Builder` - Corrects the `thread::Builder::spawn` documentation.
Felix Raimundo committedMay 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a51777e - Browse repository at this point
Copy the full SHA a51777eView commit details -
Remove rustc_llvm dependency from rustc_metadata
Move the code for loading metadata from rlibs and dylibs from rustc_metadata into rustc_trans, and introduce a trait to avoid introducing a direct dependency on rustc_trans. This means rustc_metadata is no longer rebuilt when LLVM changes.
Robin Kruppe committedMay 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 1a24a59 - Browse repository at this point
Copy the full SHA 1a24a59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f78bc - Browse repository at this point
Copy the full SHA 93f78bcView commit details
Commits on May 15, 2017
-
Make unsatisfied trait bounds note multiline
Make diagnostic note for existing method with unsatisfied trait bounds multiline for cleaner output. ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>` `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` Before: ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ```
Configuration menu - View commit details
-
Copy full SHA for c0d5aa8 - Browse repository at this point
Copy the full SHA c0d5aa8View commit details -
Add links to the
thread::LocalKey
doc.Part of rust-lang#29378 .
Felix Raimundo committedMay 15, 2017 Configuration menu - View commit details
-
Copy full SHA for f92bd3d - Browse repository at this point
Copy the full SHA f92bd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a20073 - Browse repository at this point
Copy the full SHA 2a20073View commit details -
Remove rustc_llvm dependency from librustc
Consequently, session creation can no longer initialize LLVM. The few places that use the compiler without going through rustc_driver/CompilerCalls thus need to be careful to manually initialize LLVM (via rustc_trans!) immediately after session creation. This means librustc is not rebuilt when LLVM changes.
Robin Kruppe committedMay 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 8e4f315 - Browse repository at this point
Copy the full SHA 8e4f315View commit details -
Remove (direct) rustc_llvm dependency from rustc_driver
This does not actually improve build times, since it still depends on rustc_trans, but is better layering and fits the multi-backend future slightly better.
Robin Kruppe committedMay 15, 2017 Configuration menu - View commit details
-
Copy full SHA for e3f6e68 - Browse repository at this point
Copy the full SHA e3f6e68View commit details -
Use AtomicBool instead of a 'static mut' for LLVM init posioning
Robin Kruppe committedMay 15, 2017 Configuration menu - View commit details
-
Copy full SHA for acdeedc - Browse repository at this point
Copy the full SHA acdeedcView commit details -
Robin Kruppe committed
May 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 04a16ff - Browse repository at this point
Copy the full SHA 04a16ffView commit details -
Rollup merge of rust-lang#41489 - estebank:trait-bounds-diagnosstic, …
…r=arielb1 Make unsatisfied trait bounds note multiline Make diagnostic note for existing method with unsatisfied trait bounds multiline for cleaner output. ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>` `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ``` Before: ``` = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator` ```
Configuration menu - View commit details
-
Copy full SHA for 5f50f4d - Browse repository at this point
Copy the full SHA 5f50f4dView commit details -
Rollup merge of rust-lang#41565 - rkruppe:llvm-sys, r=eddyb
Make only rustc_trans depend on rustc_llvm With these changes, only rustc_trans depends directly on rustc_llvm (and no crate gained a new dependency on trans). This means changing LLVM doesn't rebuild librustc or rustc_metadata, only rustc_trans, rustc_driver and the rustc executable Also, rustc_driver technically doesn't know about LLVM any more (of course, it still handles a ton of options that conceptually refer to LLVM, but it delegates their implementation to trans). What I *didn't* implement was merging most or all of rustc_llvm into rustc_trans. I ran into a nasty bug, which was probably just a silly typo somewhere but I probably won't have the time to figure it out in the next week or two. I opened rust-lang#41699 for that step. Fixes rust-lang#41473
Configuration menu - View commit details
-
Copy full SHA for 4e61eb7 - Browse repository at this point
Copy the full SHA 4e61eb7View commit details -
Rollup merge of rust-lang#41856 - qnighy:prohibit-parenthesized-param…
…s-in-more-types, r=arielb1 Prohibit parenthesized params in more types. Prohibit parenthesized parameters in primitive types, type parameters, `Self`, etc. Fixes rust-lang#32995.
Configuration menu - View commit details
-
Copy full SHA for 59d5f1b - Browse repository at this point
Copy the full SHA 59d5f1bView commit details -
Rollup merge of rust-lang#41982 - gamazeps:thread-yield-now, r=Guilla…
…umeGomez [Doc] Explain why `thread::yield_now` could be used. Part of rust-lang#29378. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 69d50aa - Browse repository at this point
Copy the full SHA 69d50aaView commit details -
Rollup merge of rust-lang#41994 - gamazeps:thread-builder, r=Guillaum…
…eGomez [Doc] Implrove `thread::Builder`'s doc. Part of rust-lang#29378 . - Explains *why* we would use the builder instead ofthe free function. - Changes the parent-child explanation for a spawned-caller in `thread::Builder::spawn` - Adds a link to `io::Result` in `thread::Builder` - Corrects the return type doc in `thread::Builder::spawn` r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for d4545f6 - Browse repository at this point
Copy the full SHA d4545f6View commit details -
Rollup merge of rust-lang#41995 - gamazeps:thread-localkey, r=frewsxcv
[Doc] Add links to the `thread::LocalKey` doc. Part of rust-lang#29378 . I do not know exactly what should be done for the `cleanup` part, if you have any idea I'll gladly do it. r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for 0b3456f - Browse repository at this point
Copy the full SHA 0b3456fView commit details -
Rollup merge of rust-lang#42001 - ollie27:rustdoc_extern_fn, r=Guilla…
…umeGomez rustdoc: Display `extern "C" fn` instead of `extern fn` It was decided in rust-lang/style-team#52 to be explicit about the ABI so rustdoc should follow suit.
Configuration menu - View commit details
-
Copy full SHA for 09bdb9d - Browse repository at this point
Copy the full SHA 09bdb9dView commit details