Skip to content
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 #43047

Closed
wants to merge 30 commits into from

Conversation

clarfonthey and others added 30 commits June 21, 2017 01:18
Rename Build.{cargo, rustc} to {initial_cargo, initial_rustc}.
This makes later negation much easier to interpret.
Prevents accidental mistakes in not using the right verbosity by going
to only config or flags.
... which are IntelliJ IDEA module files. (`.idea` is IDEA project files.)
When trying to use dedup_by to merge some auxiliary information from
removed elements into kept elements, I was surprised to observe that
vec.dedup_by(same_bucket) calls same_bucket(a, b) where b appears
before a in the vector, and discards a when true is returned.  This
argument order is probably a bug, but since it has already been
stabilized, I guess we should document it as a feature and move on.

(Vec::dedup also uses == with this unexpected argument order, but I
figure that’s not important since == is expected to be symmetric with
no side effects.)

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Convert Intos to Froms.

This is a resubmission of rust-lang#42129 without `impl<T> From<Vec<T>> for Box<[T]>`.
Ignore *.iml files

... which are IntelliJ IDEA module files. (`.idea` is IDEA project files.)
Document unintuitive argument order for Vec::dedup_by relation

When trying to use `dedup_by` to merge some auxiliary information from removed elements into kept elements, I was surprised to observe that `vec.dedup_by(same_bucket)` calls `same_bucket(a, b)` where `b` appears before `a` in the vector, and discards `a` when true is returned.  This argument order is probably a bug, but since it has already been stabilized, I guess we should document it as a feature and move on.

(`Vec::dedup` also uses `==` with this unexpected argument order, but I figure that’s not important since `==` is expected to be symmetric with no side effects.)
…r=alexcrichton

Various minor cleanups to rustbuild

This is work I did before the migration to the new rustbuild. I'd prefer to land this first, before my other PR, to make the diff a little clearer.

r? @alexcrichton
…Simulacrum

Add a stability marker for core::cmp::Reverse.0

Closes rust-lang#43027
README: note how to enable debugging for rustc

I got stuck on this for a bit, looking for a debug option in `./x.py build --help`.

Diff without newline changes:

Before:

> Various other options are also supported, and are documented in the config file.

After:

> Various other options, such as enabling debug information, are also supported, and are documented in the config file.
@Mark-Simulacrum
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Jul 4, 2017

📌 Commit 396d36c has been approved by Mark-Simulacrum

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@bors
Copy link
Contributor

bors commented Jul 4, 2017

⌛ Testing commit 396d36c with merge aecea5206bf992edcf1ee12555be6aa73674dcb4...

@bors
Copy link
Contributor

bors commented Jul 4, 2017

💔 Test failed - status-appveyor

@est31
Copy link
Member

est31 commented Jul 4, 2017

Failure looks legit:

Build completed successfully in 0:01:46
+ python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
    Finished dev [unoptimized] target(s) in 0.0 secs
thread 'main' panicked at 'no entry found for key', src\libcore\option.rs:823
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to run: C:\projects\rust\build\bootstrap/debug/bootstrap test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
Build completed unsuccessfully in 0:00:00

@Mark-Simulacrum
Copy link
Member Author

Probably my fault. I'll look into it.

@Mark-Simulacrum Mark-Simulacrum deleted the rollup branch July 4, 2017 13:29
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet