Skip to content

Commit 763d4fc

Browse files
committed
---
yaml --- r: 235095 b: refs/heads/stable c: 95c08e3 h: refs/heads/master i: 235093: c98696c 235091: 3cda4a9 235087: 3dcdc24 v: v3
1 parent 7ef6509 commit 763d4fc

Some content is hidden

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

48 files changed

+49
-362
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: fb379ef05cfdf5c61ec992c578682814c990b264
32+
refs/heads/stable: 95c08e37872da325bb785ee4832f5cc4709c2860
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/configure

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,6 @@ case $CFG_OSTYPE in
405405
CFG_OSTYPE=unknown-openbsd
406406
;;
407407

408-
NetBSD)
409-
CFG_OSTYPE=unknown-netbsd
410-
;;
411-
412408
Darwin)
413409
CFG_OSTYPE=apple-darwin
414410
;;

branches/stable/mk/cfg/x86_64-unknown-netbsd.mk

Lines changed: 0 additions & 22 deletions
This file was deleted.

branches/stable/src/compiletest/util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const OS_TABLE: &'static [(&'static str, &'static str)] = &[
2121
("ios", "ios"),
2222
("linux", "linux"),
2323
("mingw32", "windows"),
24-
("netbsd", "netbsd"),
2524
("openbsd", "openbsd"),
2625
("win32", "windows"),
2726
("windows", "windows"),

branches/stable/src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,7 @@ The following configurations must be defined by the implementation:
20232023
as a configuration itself, like `unix` or `windows`.
20242024
* `target_os = "..."`. Operating system of the target, examples include
20252025
`"windows"`, `"macos"`, `"ios"`, `"linux"`, `"android"`, `"freebsd"`, `"dragonfly"`,
2026-
`"bitrig"` , `"openbsd"` or `"netbsd"`.
2026+
`"bitrig"` or `"openbsd"`.
20272027
* `target_pointer_width = "..."`. Target pointer width in bits. This is set
20282028
to `"32"` for targets with 32-bit pointers, and likewise set to `"64"` for
20292029
64-bit pointers.

branches/stable/src/etc/snapshot.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ def scrub(b):
4141
download_unpack_base = os.path.join(download_dir_base, "unpack")
4242

4343
snapshot_files = {
44-
"bitrig": ["bin/rustc"],
45-
"dragonfly": ["bin/rustc"],
46-
"freebsd": ["bin/rustc"],
4744
"linux": ["bin/rustc"],
4845
"macos": ["bin/rustc"],
49-
"netbsd": ["bin/rustc"],
50-
"openbsd": ["bin/rustc"],
5146
"winnt": ["bin/rustc.exe"],
47+
"freebsd": ["bin/rustc"],
48+
"dragonfly": ["bin/rustc"],
49+
"bitrig": ["bin/rustc"],
50+
"openbsd": ["bin/rustc"],
5251
}
5352

5453
winnt_runtime_deps_32 = ["libgcc_s_dw2-1.dll", "libstdc++-6.dll"]
@@ -104,8 +103,6 @@ def get_kernel(triple):
104103
return "dragonfly"
105104
if os_name == "bitrig":
106105
return "bitrig"
107-
if os_name == "netbsd":
108-
return "netbsd"
109106
if os_name == "openbsd":
110107
return "openbsd"
111108
return "linux"

branches/stable/src/libcore/any.rs

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

11+
//! Traits for dynamic typing of any `'static` type (through runtime reflection)
12+
//!
1113
//! This module implements the `Any` trait, which enables dynamic typing
1214
//! of any `'static` type through runtime reflection.
1315
//!

branches/stable/src/liblibc/lib.rs

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ pub mod types {
13221322
}
13231323
}
13241324

1325-
#[cfg(any(target_os = "bitrig", target_os = "netbsd", target_os ="openbsd"))]
1325+
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
13261326
pub mod os {
13271327
pub mod common {
13281328
pub mod posix01 {
@@ -1351,7 +1351,7 @@ pub mod types {
13511351
pub __unused7: *mut c_void,
13521352
}
13531353

1354-
#[cfg(any(target_os = "netbsd", target_os="openbsd"))]
1354+
#[cfg(target_os = "openbsd")]
13551355
#[repr(C)]
13561356
#[derive(Copy, Clone)] pub struct glob_t {
13571357
pub gl_pathc: c_int,
@@ -4323,7 +4323,7 @@ pub mod consts {
43234323
}
43244324
}
43254325

4326-
#[cfg(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"))]
4326+
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
43274327
pub mod os {
43284328
pub mod c95 {
43294329
use types::os::arch::c95::{c_int, c_uint};
@@ -5568,7 +5568,6 @@ pub mod funcs {
55685568
target_os = "freebsd",
55695569
target_os = "dragonfly",
55705570
target_os = "bitrig",
5571-
target_os = "netbsd",
55725571
target_os = "openbsd",
55735572
target_os = "nacl"))]
55745573
pub mod posix88 {
@@ -5585,7 +5584,6 @@ pub mod funcs {
55855584
target_os = "freebsd",
55865585
target_os = "dragonfly",
55875586
target_os = "bitrig",
5588-
target_os = "netbsd",
55895587
target_os = "openbsd",
55905588
target_os = "android",
55915589
target_os = "ios",
@@ -5604,7 +5602,6 @@ pub mod funcs {
56045602
target_os = "freebsd",
56055603
target_os = "dragonfly",
56065604
target_os = "bitrig",
5607-
target_os = "netbsd",
56085605
target_os = "openbsd",
56095606
target_os = "android",
56105607
target_os = "ios",
@@ -5892,7 +5889,6 @@ pub mod funcs {
58925889
target_os = "freebsd",
58935890
target_os = "dragonfly",
58945891
target_os = "bitrig",
5895-
target_os = "netbsd",
58965892
target_os = "openbsd",
58975893
target_os = "nacl"))]
58985894
pub mod posix01 {
@@ -5905,7 +5901,6 @@ pub mod funcs {
59055901
target_os = "freebsd",
59065902
target_os = "dragonfly",
59075903
target_os = "bitrig",
5908-
target_os = "netbsd",
59095904
target_os = "openbsd",
59105905
target_os = "android",
59115906
target_os = "ios",
@@ -6024,17 +6019,16 @@ pub mod funcs {
60246019
}
60256020

60266021

6027-
#[cfg(any(target_os = "android",
6028-
target_os = "bitrig",
6029-
target_os = "dragonfly",
6030-
target_os = "ios",
6031-
target_os = "freebsd",
6022+
#[cfg(any(target_os = "windows",
60326023
target_os = "linux",
6024+
target_os = "android",
60336025
target_os = "macos",
6034-
target_os = "nacl",
6035-
target_os = "netbsd",
6026+
target_os = "ios",
6027+
target_os = "freebsd",
6028+
target_os = "dragonfly",
6029+
target_os = "bitrig",
60366030
target_os = "openbsd",
6037-
target_os = "windows"))]
6031+
target_os = "nacl"))]
60386032
pub mod posix08 {
60396033
pub mod unistd {
60406034
}
@@ -6121,7 +6115,6 @@ pub mod funcs {
61216115
target_os = "freebsd",
61226116
target_os = "dragonfly",
61236117
target_os = "bitrig",
6124-
target_os = "netbsd",
61256118
target_os = "openbsd"))]
61266119
pub mod bsd44 {
61276120
use types::common::c95::{c_void};
@@ -6199,7 +6192,6 @@ pub mod funcs {
61996192
#[cfg(any(target_os = "freebsd",
62006193
target_os = "dragonfly",
62016194
target_os = "bitrig",
6202-
target_os = "netbsd",
62036195
target_os = "openbsd"))]
62046196
pub mod extra {
62056197
}

branches/stable/src/librustc/diagnostics.rs

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -602,47 +602,15 @@ const Y: u32 = X;
602602

603603
E0267: r##"
604604
This error indicates the use of a loop keyword (`break` or `continue`) inside a
605-
closure but outside of any loop. Erroneous code example:
606-
607-
```
608-
let w = || { break; }; // error: `break` inside of a closure
609-
```
610-
611-
`break` and `continue` keywords can be used as normal inside closures as long as
612-
they are also contained within a loop. To halt the execution of a closure you
613-
should instead use a return statement. Example:
614-
615-
```
616-
let w = || {
617-
for _ in 0..10 {
618-
break;
619-
}
620-
};
621-
622-
w();
623-
```
605+
closure but outside of any loop. Break and continue can be used as normal inside
606+
closures as long as they are also contained within a loop. To halt the execution
607+
of a closure you should instead use a return statement.
624608
"##,
625609

626610
E0268: r##"
627611
This error indicates the use of a loop keyword (`break` or `continue`) outside
628612
of a loop. Without a loop to break out of or continue in, no sensible action can
629-
be taken. Erroneous code example:
630-
631-
```
632-
fn some_func() {
633-
break; // error: `break` outside of loop
634-
}
635-
```
636-
637-
Please verify that you are using `break` and `continue` only in loops. Example:
638-
639-
```
640-
fn some_func() {
641-
for _ in 0..10 {
642-
break; // ok!
643-
}
644-
}
645-
```
613+
be taken.
646614
"##,
647615

648616
E0271: r##"

branches/stable/src/librustc_back/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os) -> target_strs
6161
-a:0:64-n32".to_string()
6262
}
6363

64-
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd | abi::OsNetbsd => {
64+
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd => {
6565
"e-p:32:32:32\
6666
-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64\
6767
-f32:32:32-f64:64:64\

branches/stable/src/librustc_back/mips.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os) -> target_strs
5656
-a:0:64-n32".to_string()
5757
}
5858

59-
abi::OsBitrig | abi::OsDragonfly | abi::OsFreebsd | abi::OsNetbsd | abi::OsOpenbsd => {
59+
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd => {
6060
"E-p:32:32:32\
6161
-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64\
6262
-f32:32:32-f64:64:64\

branches/stable/src/librustc_back/mipsel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os) -> target_strs
5656
-a:0:64-n32".to_string()
5757
}
5858

59-
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd | abi::OsNetbsd => {
59+
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd => {
6060
"e-p:32:32:32\
6161
-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64\
6262
-f32:32:32-f64:64:64\

branches/stable/src/librustc_back/target/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ mod dragonfly_base;
5858
mod freebsd_base;
5959
mod linux_base;
6060
mod openbsd_base;
61-
mod netbsd_base;
6261
mod windows_base;
6362
mod windows_msvc_base;
6463

@@ -369,7 +368,6 @@ impl Target {
369368

370369
x86_64_unknown_bitrig,
371370
x86_64_unknown_openbsd,
372-
x86_64_unknown_netbsd,
373371

374372
x86_64_apple_darwin,
375373
i686_apple_darwin,

branches/stable/src/librustc_back/target/netbsd_base.rs

Lines changed: 0 additions & 32 deletions
This file was deleted.

branches/stable/src/librustc_back/target/x86_64_unknown_netbsd.rs

Lines changed: 0 additions & 29 deletions
This file was deleted.

branches/stable/src/librustc_back/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os)
4545
"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32".to_string()
4646
}
4747

48-
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd | abi::OsNetbsd => {
48+
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd => {
4949
"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32".to_string()
5050
}
5151

branches/stable/src/librustc_back/x86_64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os) -> target_strs
4747
s0:64:64-f80:128:128-n8:16:32:64-S128".to_string()
4848
}
4949

50-
abi::OsBitrig | abi::OsDragonfly | abi::OsFreebsd | abi::OsNetbsd | abi::OsOpenbsd => {
50+
abi::OsFreebsd | abi::OsDragonfly | abi::OsBitrig | abi::OsOpenbsd => {
5151
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\
5252
f32:32:32-f64:64:64-v64:64:64-v128:128:128-a:0:64-\
5353
s0:64:64-f80:128:128-n8:16:32:64-S128".to_string()

0 commit comments

Comments
 (0)