-
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 PRs in the queue; Thursday #24232
Commits on Apr 7, 2015
-
Configuration menu - View commit details
-
Copy full SHA for da7529a - Browse repository at this point
Copy the full SHA da7529aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c2228 - Browse repository at this point
Copy the full SHA f4c2228View commit details -
Configuration menu - View commit details
-
Copy full SHA for d18b405 - Browse repository at this point
Copy the full SHA d18b405View commit details -
Add Clone impls for extern "C" and unsafe fns
We only implemented Clone on `extern "Rust" fn`s (for up to 8 parameters). This didn't cover `extern "C"` or `unsafe` (or `unsafe extern "C"`) `fn`s, but there's no reason why they shouldn't be cloneable as well. The new impls are marked unstable because the existing impl for `extern "Rust" fn`s is. Fixes rust-lang#24161.
Configuration menu - View commit details
-
Copy full SHA for df95719 - Browse repository at this point
Copy the full SHA df95719View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3344221 - Browse repository at this point
Copy the full SHA 3344221View commit details -
rustup: let RUSTUP_PREFIX env override default prefix.
The idea here is if you don't want rust in /usr/local you can put something like this is your .profile: export RUSTUP_PREFIX=$HOME/.local/rust export PATH=$PATH:${RUSTUP_PREFIX}/bin export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${RUSTUP_PREFIX}/lib Then when you run rustup, it will update the install in ${RUSTUP_PREFIX} without having to remember to pass an explicit --prefix argument every time.
Configuration menu - View commit details
-
Copy full SHA for 9a51c63 - Browse repository at this point
Copy the full SHA 9a51c63View commit details
Commits on Apr 8, 2015
-
disabling a test that is failing on bitrig.
Dave Huseby committedApr 8, 2015 Configuration menu - View commit details
-
Copy full SHA for 5c3aa01 - Browse repository at this point
Copy the full SHA 5c3aa01View commit details -
Configuration menu - View commit details
-
Copy full SHA for a329a61 - Browse repository at this point
Copy the full SHA a329a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ff188 - Browse repository at this point
Copy the full SHA e2ff188View commit details -
Add tests for rust-lang#22289, rust-lang#22370 and rust-lang#22384
Closes rust-lang#22289 Closes rust-lang#22370 Closes rust-lang#22384
Configuration menu - View commit details
-
Copy full SHA for 59e62de - Browse repository at this point
Copy the full SHA 59e62deView commit details -
Modify the ExprUseVisitor to walk each part of an AutoRef, and in
particular to treat an AutoUnsize as as kind of "instantaneous" borrow of the value being unsized. This prevents us from feeding uninitialized data. This caused a problem for the eager reborrow of comparison traits, because that wound up introducing a "double AutoRef", which was not being thoroughly checked before but turned out not to type check. Fortunately, we can just remove that "eager reborrow" as it is no longer needed now that `PartialEq` doesn't force both LHS and RHS to have the same type (and even if we did have this problem, the better way would be to lean on introducing a common supertype).
Configuration menu - View commit details
-
Copy full SHA for 1e79870 - Browse repository at this point
Copy the full SHA 1e79870View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45eb54c - Browse repository at this point
Copy the full SHA 45eb54cView commit details -
configure: Remove obsolete --disable-verify option
rust-installer never verifies.
Configuration menu - View commit details
-
Copy full SHA for bc9f16c - Browse repository at this point
Copy the full SHA bc9f16cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8eebd - Browse repository at this point
Copy the full SHA ed8eebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e332b - Browse repository at this point
Copy the full SHA 59e332bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cdfd37 - Browse repository at this point
Copy the full SHA 2cdfd37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8545d2c - Browse repository at this point
Copy the full SHA 8545d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b34f0a - Browse repository at this point
Copy the full SHA 1b34f0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cbf823 - Browse repository at this point
Copy the full SHA 7cbf823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb9379 - Browse repository at this point
Copy the full SHA 0cb9379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1002155 - Browse repository at this point
Copy the full SHA 1002155View commit details -
Auto merge of rust-lang#24144 - richo:ptr-formatter, r=alexcrichton
~~I believe this should fix the issue. Opening a PR to ensure noone duplicates effort, I'm running check now.~~ Closes rust-lang#24091
Configuration menu - View commit details
-
Copy full SHA for 6436e34 - Browse repository at this point
Copy the full SHA 6436e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d17c35 - Browse repository at this point
Copy the full SHA 6d17c35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9e101 - Browse repository at this point
Copy the full SHA 2a9e101View commit details -
std: Destabilize the internals of panic!
Now that we have a `#[allow_internal_unstable]` attribute for macros there's no need for these two `begin_unwind` functions to be stable. Right now the `panic!` interface is the only one we wish to stabilize, so remove the stability markers from these functions. While this is a breaking change, it is highly unlikely to break any actual code. It is recommended to use the `panic!` macro instead if it breaks explicit calls into `std::rt`. [breaking-change] cc rust-lang#24208
Configuration menu - View commit details
-
Copy full SHA for 65e3f03 - Browse repository at this point
Copy the full SHA 65e3f03View commit details -
std: Stabilize Clone::clone_from
This method hasn't really changed since is inception, and it can often be a nice performance win for some situations. This method also imposes no burden on implementors or users of `Clone` as it's just a default method on the side.
Configuration menu - View commit details
-
Copy full SHA for 6b32072 - Browse repository at this point
Copy the full SHA 6b32072View commit details -
std: Stabilize io::Error::from_raw_os_error
This commit stabilizes the old `io::Error::from_os_error` after being renamed to use the `raw_os_error` terminology instead. This function is often useful when writing bindings to OS functions but only actually converting to an I/O error at a later point.
Configuration menu - View commit details
-
Copy full SHA for 561fdec - Browse repository at this point
Copy the full SHA 561fdecView commit details
Commits on Apr 9, 2015
-
Remove pretty-expanded from failing tests
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
Configuration menu - View commit details
-
Copy full SHA for ec7c800 - Browse repository at this point
Copy the full SHA ec7c800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 287a544 - Browse repository at this point
Copy the full SHA 287a544View commit details -
Configuration menu - View commit details
-
Copy full SHA for a725426 - Browse repository at this point
Copy the full SHA a725426View commit details -
Implement io::Seek for io::BufReader<R> where R: io::Seek
Seeking the `BufReader` discards the internal buffer (and adjusts the offset appropriately when seeking with `SeekFrom::Current(_)`).
Configuration menu - View commit details
-
Copy full SHA for 0a380a9 - Browse repository at this point
Copy the full SHA 0a380a9View commit details -
Implement io::Seek for io::BufWriter<W> where W: io::Seek
Seeking the `BufWriter` writes out its internal buffer before seeking.
Configuration menu - View commit details
-
Copy full SHA for 1605205 - Browse repository at this point
Copy the full SHA 1605205View commit details -
Auto merge of rust-lang#24168 - kballard:clone-for-extern-c-unsafe-fn…
…s, r=alexcrichton We only implemented Clone on `extern "Rust" fn`s (for up to 8 parameters). This didn't cover `extern "C"` or `unsafe` (or `unsafe extern "C"`) `fn`s, but there's no reason why they shouldn't be cloneable as well. The new impls are marked unstable because the existing impl for `extern "Rust" fn`s is. Fixes rust-lang#24161.
Configuration menu - View commit details
-
Copy full SHA for 0e5e669 - Browse repository at this point
Copy the full SHA 0e5e669View commit details -
Configuration menu - View commit details
-
Copy full SHA for 613cf9a - Browse repository at this point
Copy the full SHA 613cf9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 341870a - Browse repository at this point
Copy the full SHA 341870aView commit details -
Rollup merge of rust-lang#24171 - rillian:rustup, r=brson
The idea here is if you don't want rust in /usr/local you can put something like this is your .profile: ``` export RUSTUP_PREFIX=$HOME/.local/rust export PATH=$PATH:${RUSTUP_PREFIX}/bin export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${RUSTUP_PREFIX}/lib ``` Then when you run rustup, it will update the install in ${RUSTUP_PREFIX} without having to remember to pass an explicit --prefix argument every time.
Configuration menu - View commit details
-
Copy full SHA for ce76589 - Browse repository at this point
Copy the full SHA ce76589View commit details -
Rollup merge of rust-lang#24175 - dhuseby:bitrig_fixing_tests_2, r=al…
…excrichton I'm not sure why this is failing. This patch disables this test until I can figure out what is wrong.
Configuration menu - View commit details
-
Copy full SHA for a00ab58 - Browse repository at this point
Copy the full SHA a00ab58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68100e4 - Browse repository at this point
Copy the full SHA 68100e4View commit details -
Rollup merge of rust-lang#24191 - nikomatsakis:issue-20791, r=pnkfelix
Modify the ExprUseVisitor to walk each part of an AutoRef, and in particular to treat an AutoUnsize as as kind of \"instantaneous\" borrow of the value being unsized. This prevents us from feeding uninitialized data. This caused a problem for the eager reborrow of comparison traits, because that wound up introducing a \"double AutoRef\", which was not being thoroughly checked before but turned out not to type check. Fortunately, we can just remove that \"eager reborrow\" as it is no longer needed now that `PartialEq` doesn't force both LHS and RHS to have the same type (and even if we did have this problem, the better way would be to lean on introducing a common supertype). Fixes rust-lang#20791. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 3b87140 - Browse repository at this point
Copy the full SHA 3b87140View commit details -
Rollup merge of rust-lang#24193 - lstat:needstest, r=alexcrichton
Closes rust-lang#22289 Closes rust-lang#22370 Closes rust-lang#22384
Configuration menu - View commit details
-
Copy full SHA for 67fa4d3 - Browse repository at this point
Copy the full SHA 67fa4d3View commit details -
Rollup merge of rust-lang#24205 - brson:debug, r=alexcrichton
This makes the default configuration fully optimized, with no debugging options, no llvm asserts, renames --enable-debug to --enable-debug-assertions, and adds --enable-debug as a blanket option that toggles various things, per rust-lang#17665. It does not add a `--enable-release` flag since that would be a no-op. cc @nrc Fixes rust-lang#22390 Fixes rust-lang#17081 Partially addresses rust-lang#17665
Configuration menu - View commit details
-
Copy full SHA for 2dffe78 - Browse repository at this point
Copy the full SHA 2dffe78View commit details -
Rollup merge of rust-lang#24207 - kmcallister:llvm-plugin, r=brson
r? @brson I'm using this to integrate rustc with [american-fuzzy-lop](http://lcamtuf.coredump.cx/afl/). Building with afl instrumentation is no different from loading any other plugin library. I'd like this PR to include a `run-make` test with a custom LLVM pass; however I'm not sure it's worth the trouble of building C++ code and linking LLVM from the test suite (are there existing tests that do this?)
Configuration menu - View commit details
-
Copy full SHA for 4e466e7 - Browse repository at this point
Copy the full SHA 4e466e7View commit details -
Rollup merge of rust-lang#24212 - alexcrichton:destabilize-begin-unwi…
…nd, r=huonw Now that we have a `#[allow_internal_unstable]` attribute for macros there's no need for these two `begin_unwind` functions to be stable. Right now the `panic!` interface is the only one we wish to stabilize, so remove the stability markers from these functions. While this is a breaking change, it is highly unlikely to break any actual code. It is recommended to use the `panic!` macro instead if it breaks explicit calls into `std::rt`. [breaking-change] cc rust-lang#24208
Configuration menu - View commit details
-
Copy full SHA for 5daee19 - Browse repository at this point
Copy the full SHA 5daee19View commit details -
Rollup merge of rust-lang#24215 - alexcrichton:stabilize-clone-from, …
…r=aturon This method hasn't really changed since is inception, and it can often be a nice performance win for some situations. This method also imposes no burden on implementors or users of `Clone` as it's just a default method on the side.
Configuration menu - View commit details
-
Copy full SHA for cdfbb11 - Browse repository at this point
Copy the full SHA cdfbb11View commit details -
Rollup merge of rust-lang#24216 - alexcrichton:stabilize-from-raw-os-…
…error, r=aturon This commit stabilizes the old `io::Error::from_os_error` after being renamed to use the `raw_os_error` terminology instead. This function is often useful when writing bindings to OS functions but only actually converting to an I/O error at a later point.
Configuration menu - View commit details
-
Copy full SHA for 1a6e100 - Browse repository at this point
Copy the full SHA 1a6e100View commit details -
Rollup merge of rust-lang#24218 - lstat:remove-ignore-tidy, r=alexcri…
…chton This is a really minor issue. I noticed some tests no longer need the ignore tidy comment directive. A quick grep turned up the following files: src/test/compile-fail/bad-mid-path-type-params.rs src/test/compile-fail/bad-sized.rs src/test/compile-fail/coherence-default-trait-impl.rs src/test/compile-fail/coherence-orphan.rs src/test/compile-fail/issue-8767.rs src/test/compile-fail/lint-stability.rs src/test/compile-fail/lint-uppercase-variables.rs src/test/compile-fail/typeck-default-trait-impl-outside-crate.rs src/test/compile-fail/use-after-move-implicity-coerced-object.rs src/test/debuginfo/gdb-pretty-std.rs It didn't seem like it was worth opening an issue for this, but if that is not the case (i.e. it is required), I'll open one up. Thanks!
Configuration menu - View commit details
-
Copy full SHA for b389207 - Browse repository at this point
Copy the full SHA b389207View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27ecaa2 - Browse repository at this point
Copy the full SHA 27ecaa2View commit details -
Rollup merge of rust-lang#24170 - omo:omo-typo-fix, r=steveklabnik
Can anyone take a look? Very trivial.
Configuration menu - View commit details
-
Copy full SHA for ce825ab - Browse repository at this point
Copy the full SHA ce825abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ede25fe - Browse repository at this point
Copy the full SHA ede25feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a609b - Browse repository at this point
Copy the full SHA 53a609bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea73179 - Browse repository at this point
Copy the full SHA ea73179View commit details