-
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 PRs in the queue; Friday #23337
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Manishearth
commented
Mar 13, 2015
Currently, target.mk passes -L "" when LLVM_STDCPP_LOCATION_$(2) is empty. This fixes rust-lang#23287.
Show how to get a pointer without destroying the box. Use `boxed::into_raw` instead of `mem::transmute`.
It is no longer possible to specialize on the `Hasher` because it moved to a method-level type parameter.
When this attribute is applied to a function, its return value gets the noalias attribute, which is how you tell LLVM that the function returns a "new" pointer that doesn't alias anything accessible to the caller, i.e. it acts like a memory allocator. Plain malloc doesn't need this attribute because LLVM already knows about malloc and adds the attribute itself.
This adds a special code path for impls which are listed as default impls to ensure that they're loaded correctly.
…=alexcrichton Fixes rust-lang#22656. Also adds a nice pretty printer for `Vec`.
…crichton ```rust Rust: let slice: &[i32] = &[0, 1, 2, 3]; GDB: $1 = &[i32](len: 4) = {0, 1, 2, 3} Rust: let vec = vec![4, 5, 6, 7]; GDB: $2 = Vec<u64>(len: 4, cap: 4) = {4, 5, 6, 7} Rust: let str_slice = \"IAMA string slice!\"; GDB: $3 = \"IAMA string slice!\" Rust: let string = \"IAMA string!\".to_string(); GDB: $4 = \"IAMA string!\" ``` Neat!
This is the second time I've made this typo.
…r=brson This adds a special code path for impls which are listed as default impls to ensure that they're loaded correctly.
Show how to get a pointer without destroying the box. Use `boxed::into_raw` instead of `mem::transmute`. I removed the `let my_num: *const i32 = mem::transmute(my_num);` case altogether because we own the box, a `*mut` pointer is good anywhere a `*const` is needed, `from_raw` takes a mutable pointer and casting from a `*const` caused an ICE.
…, r=steveklabnik Fixed grammar errors (incorrect uses of commas and \"you're\" instead of \"your\") and broke up a long line. r? @steveklabnik
It is no longer possible to specialize on the `Hasher` because it moved to a method-level type parameter.
When this attribute is applied to a function, its return value gets the noalias attribute, which is how you tell LLVM that the function returns a \"new\" pointer that doesn't alias anything accessible to the caller, i.e. it acts like a memory allocator. Plain malloc doesn't need this attribute because LLVM already knows about malloc and adds the attribute itself.
Currently, target.mk passes -L \"\" when LLVM_STDCPP_LOCATION_$(2) is empty. This fixes rust-lang#23287.
This implements a wish suggested in rust-lang#17410, detecting enum variants that are never constructed, even in the presence of `#[derive(Clone)]`. The implementation is general and not specific to `#[derive(Clone)]`. r? @jakub-
@bors: r+ p=20 |
⌛ Testing commit 40b6464 with merge f74f2c3... |
💔 Test failed - auto-win-32-opt |
@bors: retry force clean |
bors
added a commit
that referenced
this pull request
Mar 13, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.