Skip to content

Commit c9ed25a

Browse files
committed
---
yaml --- r: 273115 b: refs/heads/beta c: 86fd5a0 h: refs/heads/master i: 273113: de22b3d 273111: 5ed4eca
1 parent 35ce40f commit c9ed25a

File tree

138 files changed

+3003
-1201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+3003
-1201
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: af8f85cc397e10cc63b7c1c2ece7423d438afc67
26+
refs/heads/beta: 86fd5a02e70707564e82719dbbdf6a822ffe0c32
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/mk/dist.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ PKG_FILES := \
5454
doc \
5555
driver \
5656
etc \
57+
error_index_generator \
5758
$(foreach crate,$(CRATES),lib$(crate)) \
5859
libcollectionstest \
5960
libcoretest \
@@ -64,7 +65,7 @@ PKG_FILES := \
6465
rustc \
6566
snapshots.txt \
6667
rust-installer \
67-
tools \
68+
rustbook \
6869
test) \
6970
$(PKG_GITMODULES) \
7071
$(filter-out config.stamp, \

branches/beta/src/compiletest/compiletest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![crate_type = "bin"]
1212

1313
#![feature(box_syntax)]
14+
#![feature(dynamic_lib)]
1415
#![feature(libc)]
1516
#![feature(rustc_private)]
1617
#![feature(str_char)]

branches/beta/src/compiletest/procsrv.rs

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,25 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
use std::env;
12-
use std::ffi::OsString;
11+
#![allow(deprecated)]
12+
13+
use std::dynamic_lib::DynamicLibrary;
1314
use std::io::prelude::*;
1415
use std::path::PathBuf;
1516
use std::process::{ExitStatus, Command, Child, Output, Stdio};
1617

1718
fn add_target_env(cmd: &mut Command, lib_path: &str, aux_path: Option<&str>) {
1819
// Need to be sure to put both the lib_path and the aux path in the dylib
1920
// search path for the child.
20-
let var = if cfg!(windows) {
21-
"PATH"
22-
} else if cfg!(target_os = "macos") {
23-
"DYLD_LIBRARY_PATH"
24-
} else {
25-
"LD_LIBRARY_PATH"
26-
};
27-
let mut path = env::split_paths(&env::var_os(var).unwrap_or(OsString::new()))
28-
.collect::<Vec<_>>();
21+
let mut path = DynamicLibrary::search_path();
2922
if let Some(p) = aux_path {
3023
path.insert(0, PathBuf::from(p))
3124
}
3225
path.insert(0, PathBuf::from(lib_path));
3326

3427
// Add the new dylib search path var
35-
let newpath = env::join_paths(&path).unwrap();
28+
let var = DynamicLibrary::envvar();
29+
let newpath = DynamicLibrary::create_path(&path);
3630
cmd.env(var, newpath);
3731
}
3832

branches/beta/src/doc/book/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ Cargo checks to see if any of your project’s files have been modified, and onl
501501
rebuilds your project if they’ve changed since the last time you built it.
502502

503503
With simple projects, Cargo doesn't bring a whole lot over just using `rustc`,
504-
but it will become useful in the future. This is especially true when you start
504+
but it will become useful in future. This is especially true when you start
505505
using crates; these are synonymous with a ‘library’ or ‘package’ in other
506506
programming languages. For complex projects composed of multiple crates, it’s
507507
much easier to let Cargo coordinate the build. Using Cargo, you can run `cargo

branches/beta/src/doc/book/if.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rust’s take on `if` is not particularly complex, but it’s much more like the
44
`if` you’ll find in a dynamically typed language than in a more traditional
55
systems language. So let’s talk about it, to make sure you grasp the nuances.
66

7-
`if` is a specific form of a more general concept, the ‘branch’, whose name comes
7+
`if` is a specific form of a more general concept, the ‘branch’. The name comes
88
from a branch in a tree: a decision point, where depending on a choice,
99
multiple paths can be taken.
1010

branches/beta/src/doc/book/strings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let s = "foo\
4444
assert_eq!("foobar", s);
4545
```
4646

47-
Rust has more than only `&str`s though. A `String` is a heap-allocated string.
47+
Rust has more than only `&str`s though. A `String`, is a heap-allocated string.
4848
This string is growable, and is also guaranteed to be UTF-8. `String`s are
4949
commonly created by converting from a string slice using the `to_string`
5050
method.
@@ -89,7 +89,7 @@ Viewing a `String` as a `&str` is cheap, but converting the `&str` to a
8989

9090
## Indexing
9191

92-
Because strings are valid UTF-8, they do not support indexing:
92+
Because strings are valid UTF-8, strings do not support indexing:
9393

9494
```rust,ignore
9595
let s = "hello";

branches/beta/src/etc/platform-intrinsics/x86/avx.json

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -8,83 +8,6 @@
88
"ret": "f(32-64)",
99
"args": ["0", "0"]
1010
},
11-
{
12-
"intrinsic": "256_blendv_{0.data_type}",
13-
"width": [256],
14-
"llvm": "blendv.{0.data_type}.256",
15-
"ret": "f(32-64)",
16-
"args": ["0", "0", "0"]
17-
},
18-
{
19-
"intrinsic": "256_broadcast_{0.data_type}",
20-
"width": [256],
21-
"llvm": "vbroadcastf128.{0.data_type}.256",
22-
"ret": "f(32-64)",
23-
"args": ["s8SPc"]
24-
},
25-
{
26-
"intrinsic": "256_cmp_{0.data_type}",
27-
"width": [256],
28-
"llvm": "cmp.{1.data_type}.256",
29-
"ret": "f(32-64)",
30-
"args": ["0", "0", "s8S"]
31-
},
32-
{
33-
"intrinsic": "256_cvtepi32_pd",
34-
"width": [256],
35-
"llvm": "cvtdq2.pd.256",
36-
"ret": "f64",
37-
"args": ["s32h"]
38-
},
39-
{
40-
"intrinsic": "256_cvtepi32_ps",
41-
"width": [256],
42-
"llvm": "cvtdq2.ps.256",
43-
"ret": "f32",
44-
"args": ["s32"]
45-
},
46-
{
47-
"intrinsic": "256_cvtpd_epi32",
48-
"width": [256],
49-
"llvm": "cvt.pd2dq.256",
50-
"ret": "s32h",
51-
"args": ["f64"]
52-
},
53-
{
54-
"intrinsic": "256_cvtpd_ps",
55-
"width": [256],
56-
"llvm": "cvt.pd2.ps.256",
57-
"ret": "f32h",
58-
"args": ["f64"]
59-
},
60-
{
61-
"intrinsic": "256_cvtps_epi32",
62-
"width": [256],
63-
"llvm": "cvt.ps2dq.256",
64-
"ret": "s32",
65-
"args": ["f32"]
66-
},
67-
{
68-
"intrinsic": "256_cvtps_pd",
69-
"width": [256],
70-
"llvm": "cvt.ps2.pd.256",
71-
"ret": "f64",
72-
"args": ["f32h"]
73-
},
74-
{
75-
"intrinsic": "256_cvttpd_epi32",
76-
"width": [256],
77-
"llvm": "cvtt.pd2dq.256",
78-
"ret": "s32h",
79-
"args": ["f64"]
80-
},
81-
{
82-
"intrinsic": "256_cvttps_epi32",
83-
"width": [256],
84-
"llvm": "cvtt.ps2dq.256",
85-
"ret": "s32",
86-
"args": ["f32"]
87-
},
8811
{
8912
"intrinsic": "256_dp_ps",
9013
"width": [256],

branches/beta/src/liballoc/boxed.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,14 +525,14 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
525525
/// }
526526
/// ```
527527
#[rustc_paren_sugar]
528-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
528+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
529529
pub trait FnBox<A> {
530530
type Output;
531531

532532
fn call_box(self: Box<Self>, args: A) -> Self::Output;
533533
}
534534

535-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
535+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
536536
impl<A, F> FnBox<A> for F where F: FnOnce<A>
537537
{
538538
type Output = F::Output;
@@ -542,7 +542,7 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A>
542542
}
543543
}
544544

545-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
545+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
546546
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
547547
type Output = R;
548548

@@ -551,7 +551,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
551551
}
552552
}
553553

554-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
554+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
555555
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + Send + 'a> {
556556
type Output = R;
557557

0 commit comments

Comments
 (0)