-
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
Mini doc rollup #23387
Mini doc rollup #23387
Commits on Mar 13, 2015
-
Avoid passing -L "" during cross-compilation.
LLVM_LIBDIR_<triple> is only defined for host triples, not target triples. FWIW, the same is true for LLVM_STDCPP_RUSTFLAGS_<triple>, where we explicitly define it as empty when --enable-llvm-static-stdcpp is not specified, but it's still undefined for cross-compiled triples.
Configuration menu - View commit details
-
Copy full SHA for 00211ec - Browse repository at this point
Copy the full SHA 00211ecView commit details
Commits on Mar 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 60aa751 - Browse repository at this point
Copy the full SHA 60aa751View commit details -
Reject
-L ""
,-L native=
, and other empty search paths.It wasn't clear to me that early_error was correct here, but it seems to work. This code is reachable from `rustdoc`, which is problematic, because early_error panics. rustc handles the panics gracefully (without ICEing or crashing), but rustdoc does not. It's not the first such rustdoc problem, though: $ rustdoc hello.rs --extern std=bad-std error: extern location for std does not exist: bad-std hello.rs:1:1: 1:1 error: can't find crate for `std` hello.rs:1 ^ error: aborting due to 2 previous errors thread '<unnamed>' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:151 thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "rustc failed"', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libcore/result.rs:744 thread '<main>' panicked at 'child thread None panicked', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/thread.rs:661
Configuration menu - View commit details
-
Copy full SHA for 85b084f - Browse repository at this point
Copy the full SHA 85b084fView commit details -
Drop support for LLVM < 3.5 and fix compile errors with 3.5
LLVM older that 3.6 has a bug that cause assertions when compiling certain constructs. For 3.5 there's still a chance that the bug might get fixed in 3.5.2, so let's keep allowing to compile with it for it for now.
Configuration menu - View commit details
-
Copy full SHA for bb18a3c - Browse repository at this point
Copy the full SHA bb18a3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb02f36 - Browse repository at this point
Copy the full SHA cb02f36View commit details -
Always evaluate the expression in [expr; n]
In case that there is a destination for the array, like in "let x = [expr; n]", we currently don't evaluate the given expression if n is zero. That's inconsistent with all other cases, including "[expr; 0]" without a destination. Fixes rust-lang#23354
Configuration menu - View commit details
-
Copy full SHA for 3a8f989 - Browse repository at this point
Copy the full SHA 3a8f989View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eed8ea - Browse repository at this point
Copy the full SHA 9eed8eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e4f61 - Browse repository at this point
Copy the full SHA c8e4f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7130c75 - Browse repository at this point
Copy the full SHA 7130c75View commit details
Commits on Mar 15, 2015
-
Stop recommending old_io in the module doc for std::io
Now that `old_io` is deprecated and `std::io` is stable, we should stop recommending the use of `old_io` in the module documentation.
Configuration menu - View commit details
-
Copy full SHA for 3dd455d - Browse repository at this point
Copy the full SHA 3dd455dView commit details -
Remove incorrect references to _raw stdio functions
std::io does not currently expose the stdin_raw, stdout_raw, or stderr_raw functions. According to the current plans for stdio (see RFC rust-lang#517), raw access will likely be provided using the platform-specific std::os::{unix,windows} modules. At the moment we don't expose any way to do this. As such, delete all mention of the _raw functions from the stdin/stdout/stderr function documentation. While we're at it, remove a few `pub`s from items that aren't exposed. This is done just to lessen the confusion experienced by anyone who looks at the source in an attempt to find the _raw functions.
Configuration menu - View commit details
-
Copy full SHA for 3453b5b - Browse repository at this point
Copy the full SHA 3453b5bView commit details -
Rollup merge of rust-lang#23351 - nagisa:rustdoc-lines-2, r=alexcrichton
Previously it would fail on a trivial case like /// Summary line /// <trailing space> /// Regular content Compliant markdown preprocessor would render that as two separate paragraphs, but our summary line extractor interprets both lines as the same paragraph and includes both into the short summary resulting in ![screenshot from 2015-03-13 22 47 08](https://cloud.githubusercontent.com/assets/679122/6648596/7ef792b2-c9e4-11e4-9c19-704c288ec4de.png)
Configuration menu - View commit details
-
Copy full SHA for 01f10de - Browse repository at this point
Copy the full SHA 01f10deView commit details -
Rollup merge of rust-lang#23356 - bombless:camelcase, r=alexcrichton
non_camel_case_types lint suggests `ONETWOTHREE` for non-camel type `ONE_TWO_THREE`, which doesn't look good. This patch fixes it.
Configuration menu - View commit details
-
Copy full SHA for 7eb9c37 - Browse repository at this point
Copy the full SHA 7eb9c37View commit details -
Rollup merge of rust-lang#23358 - rprichard:reject-empty-L, r=alexcri…
…chton This change closes rust-lang#23303 by rejecting an empty search path.
Configuration menu - View commit details
-
Copy full SHA for 6af2721 - Browse repository at this point
Copy the full SHA 6af2721View commit details -
Rollup merge of rust-lang#23362 - dotdash:llvm_req, r=alexcrichton
LLVM older that 3.6 has a bug that cause assertions when compiling certain constructs. For 3.5 there's still a chance that the bug might get fixed in 3.5.2, so let's keep allowing to compile with it for it for now.
Configuration menu - View commit details
-
Copy full SHA for 4be0eae - Browse repository at this point
Copy the full SHA 4be0eaeView commit details -
Rollup merge of rust-lang#23363 - meqif:master, r=alexcrichton
There was a minor typo in the book's concurrency section (\"recieve\" instead of \"receive\").
Configuration menu - View commit details
-
Copy full SHA for 911f7fe - Browse repository at this point
Copy the full SHA 911f7feView commit details -
Rollup merge of rust-lang#23365 - dotdash:array_loop_panic, r=eddyb
[expr; 0] currently exhibits inconsistent behaviour and [expr; n] with n > 1 triggers an LLVM assertion in case that \"expr\" diverges.
Configuration menu - View commit details
-
Copy full SHA for 34ce376 - Browse repository at this point
Copy the full SHA 34ce376View commit details -
Rollup merge of rust-lang#23367 - EduardoBautista:fix-indentation-in-…
…book, r=steveklabnik It was using tabs.
Configuration menu - View commit details
-
Copy full SHA for 09e5a7a - Browse repository at this point
Copy the full SHA 09e5a7aView commit details -
Rollup merge of rust-lang#23368 - EduardoBautista:fix-closures-chapte…
…r, r=steveklabnik "body": null,
Configuration menu - View commit details
-
Copy full SHA for d66d0b3 - Browse repository at this point
Copy the full SHA d66d0b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f59af75 - Browse repository at this point
Copy the full SHA f59af75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be8380 - Browse repository at this point
Copy the full SHA 3be8380View commit details -
Rollup merge of rust-lang#23375 - kballard:remove-old_io-recommendati…
…on-from-io, r=huonw Now that `old_io` is deprecated and `std::io` is stable, we should stop recommending the use of `old_io` in the module documentation.
Configuration menu - View commit details
-
Copy full SHA for 3ebe249 - Browse repository at this point
Copy the full SHA 3ebe249View commit details -
Rollup merge of rust-lang#23379 - kballard:tweak-stdio-docs-no-raw-co…
…nstructors, r=alexcrichton `std::io` does not currently expose the `stdin_raw`, `stdout_raw`, or `stderr_raw` functions. According to the current plans for stdio (see rust-lang/rfcs#517), raw access will likely be provided using the platform-specific `std::os::{unix,windows}` modules. At the moment we don't expose any way to do this. As such, delete all mention of the `*_raw` functions from the `stdin`/`stdout`/`stderr` function documentation. While we're at it, remove a few `pub`s from items that aren't exposed. This is done just to lessen the confusion experienced by anyone who looks at the source in an attempt to find the `*_raw` functions.
Configuration menu - View commit details
-
Copy full SHA for f31d818 - Browse repository at this point
Copy the full SHA f31d818View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d8bafe - Browse repository at this point
Copy the full SHA 9d8bafeView commit details -
Rollup merge of rust-lang#23384 - daboross:patch-2, r=alexcrichton
This changed `an String` to `a String`. Very minor change! The usage of `an String` was introduced in rust-lang@a828e79#diff-b596503c7c33ce457b6d047e351ac12bR423, which changed `an OsString` to `an String`.
Configuration menu - View commit details
-
Copy full SHA for 9f1240b - Browse repository at this point
Copy the full SHA 9f1240bView commit details