-
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 10 pull requests #45100
Rollup of 10 pull requests #45100
Commits on Oct 5, 2017
-
Update trait summaries for std::fmt
This patch is part of rust-lang#29355.
Barret Rennie committedOct 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 276bebe - Browse repository at this point
Copy the full SHA 276bebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b50e8eb - Browse repository at this point
Copy the full SHA b50e8ebView commit details -
Modify Rc/Arc language around mutability
There are a few exceptions to the rule that Arc/Rc are immutable. Rather than dig into the details, add "generally" to hint at this difference, as it's kind of a distraction at this point in the docs. Additionally, Arc's docs were slightly different here generally, so add in both the existing language and the exception. Fixes rust-lang#44105
Configuration menu - View commit details
-
Copy full SHA for 5e251b7 - Browse repository at this point
Copy the full SHA 5e251b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98045fd - Browse repository at this point
Copy the full SHA 98045fdView commit details
Commits on Oct 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 73ca15c - Browse repository at this point
Copy the full SHA 73ca15cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c6c11 - Browse repository at this point
Copy the full SHA 14c6c11View commit details
Commits on Oct 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 45907f5 - Browse repository at this point
Copy the full SHA 45907f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19dcf91 - Browse repository at this point
Copy the full SHA 19dcf91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41b105b - Browse repository at this point
Copy the full SHA 41b105bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 691ab6c - Browse repository at this point
Copy the full SHA 691ab6cView commit details -
enable strict alignment (+strict-align) on ARMv6
As discovered in rust-lang#44538 ARMv6 devices may or may not support unaligned memory accesses. ARMv6 Linux *seems* to have no problem with unaligned accesses but this is because the kernel is stepping in to fix each unaligned memory access -- this incurs in a performance penalty. This commit enforces aligned memory accesses on all our in-tree ARM targets that may be used with ARMv6 devices. This should improve performance of Rust programs on ARMv6 devices. For the record, clang also applies this attribute when targeting ARMv6 devices that are not running Darwin or NetBSD.
Configuration menu - View commit details
-
Copy full SHA for 2b8f190 - Browse repository at this point
Copy the full SHA 2b8f190View commit details -
Add read_to_end implementation to &[u8]'s Read impl
The default impl for read_to_end does a bunch of bookkeeping that isn't necessary for slices and is about 4 times slower on my machine.
Configuration menu - View commit details
-
Copy full SHA for d52acbe - Browse repository at this point
Copy the full SHA d52acbeView commit details
Commits on Oct 8, 2017
-
Rollup merge of rust-lang#45018 - michaelwoerister:fix-dep-node-debug…
…-recursion, r=eddyb incr.comp.: Fix infinite recursion in Debug implementation of DepNode Small bug fix. Depends on rust-lang#44901 to land first.
Configuration menu - View commit details
-
Copy full SHA for 92a35d9 - Browse repository at this point
Copy the full SHA 92a35d9View commit details -
Rollup merge of rust-lang#45042 - brennie:brennie/fmt-trait-summaries…
…, r=steveklabnik Update trait summaries for std::fmt This patch is part of rust-lang#29355. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 4090e81 - Browse repository at this point
Copy the full SHA 4090e81View commit details -
Rollup merge of rust-lang#45052 - steveklabnik:gh44105, r=dtolnay
Modify Rc/Arc language around mutability There are a few exceptions to the rule that Arc/Rc are immutable. Rather than dig into the details, add "generally" to hint at this difference, as it's kind of a distraction at this point in the docs. Additionally, Arc's docs were slightly different here generally, so add in both the existing language and the exception. Fixes rust-lang#44105
Configuration menu - View commit details
-
Copy full SHA for c238df1 - Browse repository at this point
Copy the full SHA c238df1View commit details -
Rollup merge of rust-lang#45053 - GuillaumeGomez:atomicbool-doc, r=Qu…
…ietMisdreavus Add missing links for AtomicBool r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for 761efb3 - Browse repository at this point
Copy the full SHA 761efb3View commit details -
Rollup merge of rust-lang#45058 - hunteke:fix_rustc_private_typo_2017…
…Oct, r=shepmaster Fix typo, per rust-lang#45057. This looks like a simple string -- one character -- fix. Given that I'm currently running low on battery, I have not actually compiled and tested this. But I am fully confident this passes muster. If not, I'll be maintainer-educated, yes? ;-)
Configuration menu - View commit details
-
Copy full SHA for ae54d5e - Browse repository at this point
Copy the full SHA ae54d5eView commit details -
Rollup merge of rust-lang#45060 - topecongiro:semi-in-local-span, r=p…
…etrochenkov Add a semicolon to span for ast::Local
Configuration menu - View commit details
-
Copy full SHA for 48cb6af - Browse repository at this point
Copy the full SHA 48cb6afView commit details -
Rollup merge of rust-lang#45081 - tamird:fmt-cleanup, r=alexcrichton
fmt: misc cleanup
Configuration menu - View commit details
-
Copy full SHA for db202e3 - Browse repository at this point
Copy the full SHA db202e3View commit details -
Rollup merge of rust-lang#45083 - fhartwig:slice-read-to-end, r=bluss
Add read_to_end implementation to &[u8]'s Read impl The default impl for read_to_end does a bunch of bookkeeping that isn't necessary for slices and is about 4 times slower on my machine. The following benchmark takes about 30 ns before this change and about 7 ns after: ``` #[bench] fn bench_read_std(b: &mut Bencher) { let data = vec![0u8; 100]; let mut v = Vec::with_capacity(200); b.iter(|| { let mut s = data.as_slice(); v.clear(); s.read_to_end(&mut v).unwrap(); }); } ``` This solves the easy part of rust-lang#44819 (I think extending this to `Take<&[u8]> `would require specialization)
Configuration menu - View commit details
-
Copy full SHA for 262612c - Browse repository at this point
Copy the full SHA 262612cView commit details -
Rollup merge of rust-lang#45090 - rust-lang:petrochenkov-patch-1, r=a…
…lexcrichton Document that `-C ar=PATH` doesn't do anything Are there any plans to use an external archiver in the future? IIRC, it was used before, but its use was replaced with LLVM's built-in archive management machinery. I can't found a relevant PR though. EDIT: Found it - rust-lang#26926! The `-C` option is stable so it still can't be removed right away even if there are no plans to use it (but maybe it can be deprecated?). Target specifications have a field for archiver as well, which is unused too (these ones are unstable, so I guess it can be removed). r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 0489497 - Browse repository at this point
Copy the full SHA 0489497View commit details -
Rollup merge of rust-lang#45094 - japaric:strict-align, r=alexcrichton
enable strict alignment (+strict-align) on ARMv6 As discovered in rust-lang#44538 ARMv6 devices may or may not support unaligned memory accesses. ARMv6 Linux *seems* to have no problem with unaligned accesses but this is because the kernel is stepping in to fix each unaligned memory access -- this incurs in a performance penalty. This commit enforces aligned memory accesses on all our in-tree ARM targets that may be used with ARMv6 devices. This should improve performance of Rust programs on ARMv6 devices. For the record, clang also applies this attribute when targeting ARMv6 devices that are not running Darwin or NetBSD. closes rust-lang#44538 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 7914e6f - Browse repository at this point
Copy the full SHA 7914e6fView commit details