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 8 pull requests #29610

Merged
merged 80 commits into from
Nov 5, 2015
Merged

Rollup of 8 pull requests #29610

merged 80 commits into from
Nov 5, 2015

Conversation

brson and others added 30 commits October 27, 2015 17:30
There was a bunch of manual fixes too... rustfmt isn't quite there yet
A line may be indented with both spaces or tabs. All leading whitespace
is trimmed, even if it is mixed.
Needed for distcheck to pass and to have a working tarball.
When referring to the different shared library extensions, specify the OS explicitly.
module and into `hair/cx`, now that we don't have a trait defining
the interface
The current readme provides critical information about gcc versions too late in the flow.

r? @steveklabnik
This replaces usage of the (missing) `fatal!` macro with `panic!`.
bors and others added 19 commits November 4, 2015 13:24
…minor, r=nikomatsakis

When referring to the different shared library extensions, specify the OS explicitly.
…sakis

Needed for distcheck to pass and to have a working tarball.
…chton

The "m" memory constraint in inline assembly is broken (generates incorrect code or triggers LLVM asserts) and should not be used. Instead, indirect memory operands should be used with "\*m", "=\*m" and "+\*m".

Clang does this transparently by transforming "m" constraints into "\*m" indirect constraints, but for now just being able to use "\*m" directly is enough since asm! isn't stable.

While "\*m" works fine as an input operand, "=\*m" and "+\*m" need to be specified as input operands because they take a pointer value as an input. This PR relaxes the constraint checker to allow constraints starting with "=" or "+" if the constraint string contains a "\*", which indicates an indirect operand.

This (indirectly) fixes these issues: rust-lang#29382, rust-lang#16383 and rust-lang#13366. The code will need to be changed to use "\*m" instead of "m".
This is basically a more conservative recreation of rust-lang#24096.
[Rendered](https://github.com/brson/rust/blob/relnotes/RELEASES.md)

More highlights would be good. I intend to go through and hyperlink all the APIs still.
I did some preliminary editing work with No Starch on the first chapter of the book, and here's some of the results. We're going to want to return to this later when @brson etc's new rustup work is done, so this is mostly just a first pass.

But, we agreed that having separate chapters for each of this bit of intro is a bit excessive. So let's move all of this intro stuff into one chapter.

I'd appreciate a careful review of this, as there was also some confusion about some things, which resulted in me taking one huge markdown file apart and splitting it back up, as well as some editor issues, so I _think_ this looks good, but double checking things matters!

/cc @aturon
Reword "Writing the logic" paragraph to prevent `unwrap` being confused for a macro (and other small changes to improve the flow of the paragraph).

cc @steveklabnik
@steveklabnik
Copy link
Member Author

@bors: r+ p=100

@bors
Copy link
Contributor

bors commented Nov 5, 2015

📌 Commit 05cbfa4 has been approved by steveklabnik

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

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

bors added a commit that referenced this pull request Nov 5, 2015
@bors
Copy link
Contributor

bors commented Nov 5, 2015

⌛ Testing commit 05cbfa4 with merge 2509948...

@bors bors merged commit 05cbfa4 into rust-lang:master Nov 5, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 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.