Skip to content

Commit 3c0a2cc

Browse files
committed
---
yaml --- r: 166525 b: refs/heads/snap-stage3 c: 1e5811e h: refs/heads/master i: 166523: c38a39b v: v3
1 parent 3611fb3 commit 3c0a2cc

File tree

154 files changed

+1303
-2547
lines changed

Some content is hidden

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

154 files changed

+1303
-2547
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 18842f89f084c52588fe7cffe07f87bf6e90796a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0201334439393bed205c1148bed425b80aab8c22
4+
refs/heads/snap-stage3: 1e5811ef9271644db0d0ddaae351976b0d4abdd2
55
refs/heads/try: f5d619caf9f32458680fae55526b99582ca682dd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/mk/cfg/x86_64-unknown-dragonfly.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ CFG_LIB_NAME_x86_64-unknown-dragonfly=lib$(1).so
77
CFG_STATIC_LIB_NAME_x86_64-unknown-dragonfly=lib$(1).a
88
CFG_LIB_GLOB_x86_64-unknown-dragonfly=lib$(1)-*.so
99
CFG_LIB_DSYM_GLOB_x86_64-unknown-dragonfly=$(1)-*.dylib.dSYM
10-
CFG_JEMALLOC_CFLAGS_x86_64-unknown-dragonfly := -m64 -I/usr/include -I/usr/local/include $(CFLAGS)
11-
CFG_GCCISH_CFLAGS_x86_64-unknown-dragonfly := -Wall -Werror -g -fPIC -m64 -I/usr/include -I/usr/local/include $(CFLAGS)
12-
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-dragonfly := -shared -fPIC -g -pthread -lrt -m64
10+
CFG_JEMALLOC_CFLAGS_x86_64-unknown-dragonfly := -I/usr/include -I/usr/local/include $(CFLAGS)
11+
CFG_GCCISH_CFLAGS_x86_64-unknown-dragonfly := -Wall -Werror -g -fPIC -I/usr/include -I/usr/local/include $(CFLAGS)
12+
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-dragonfly := -shared -fPIC -g -pthread -lrt
1313
CFG_GCCISH_DEF_FLAG_x86_64-unknown-dragonfly := -Wl,--export-dynamic,--dynamic-list=
1414
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-unknown-dragonfly := -Wl,-whole-archive
1515
CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-dragonfly := -Wl,-no-whole-archive

branches/snap-stage3/mk/rt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ $$(JEMALLOC_LOCAL_$(1)): $$(JEMALLOC_DEPS) $$(MKFILE_DEPS)
180180
AR="$$(AR_$(1))" \
181181
RANLIB="$$(AR_$(1)) s" \
182182
CPPFLAGS="-I $(S)src/rt/" \
183-
EXTRA_CFLAGS="-g1 -ffunction-sections -fdata-sections"
183+
EXTRA_CFLAGS="-g1"
184184
$$(Q)$$(MAKE) -C "$$(JEMALLOC_BUILD_DIR_$(1))" build_lib_static
185185

186186
ifeq ($$(CFG_DISABLE_JEMALLOC),)

branches/snap-stage3/src/compiletest/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fn parse_expected(last_nonfollow_error: Option<uint>,
6767
re: &Regex) -> Option<(WhichLine, ExpectedError)> {
6868
re.captures(line).and_then(|caps| {
6969
let adjusts = caps.name("adjusts").unwrap_or("").len();
70-
let kind = caps.name("kind").unwrap_or("").to_ascii_lower();
70+
let kind = caps.name("kind").unwrap_or("").to_ascii_lowercase();
7171
let msg = caps.name("msg").unwrap_or("").trim().to_string();
7272
let follow = caps.name("follow").unwrap_or("").len() > 0;
7373

branches/snap-stage3/src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ names, and invoked through a consistent syntax: `name!(...)`. Examples include:
640640
* `stringify!` : pretty-print the Rust expression given as an argument
641641
* `include!` : include the Rust expression in the given file
642642
* `include_str!` : include the contents of the given file as a string
643-
* `include_bytes!` : include the contents of the given file as a binary blob
643+
* `include_bin!` : include the contents of the given file as a binary blob
644644
* `error!`, `warn!`, `info!`, `debug!` : provide diagnostic information.
645645

646646
All of the above extensions are expressions with values.

branches/snap-stage3/src/etc/snapshot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def scrub(b):
3737
"macos": ["bin/rustc"],
3838
"winnt": ["bin/rustc.exe"],
3939
"freebsd": ["bin/rustc"],
40-
"dragonfly": ["bin/rustc"],
4140
}
4241

4342
winnt_runtime_deps_32 = ["libgcc_s_dw2-1.dll",
@@ -87,8 +86,6 @@ def get_kernel(triple):
8786
return "macos"
8887
if os_name == "freebsd":
8988
return "freebsd"
90-
if os_name == "dragonfly":
91-
return "dragonfly"
9289
return "linux"
9390

9491
def get_cpu(triple):

branches/snap-stage3/src/liballoc/arc.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ pub struct Arc<T> {
117117
_ptr: *mut ArcInner<T>,
118118
}
119119

120-
unsafe impl<T: Sync + Send> Send for Arc<T> { }
121-
unsafe impl<T: Sync + Send> Sync for Arc<T> { }
122-
123-
124120
/// A weak pointer to an `Arc`.
125121
///
126122
/// Weak pointers will not keep the data inside of the `Arc` alive, and can be used to break cycles
@@ -133,19 +129,13 @@ pub struct Weak<T> {
133129
_ptr: *mut ArcInner<T>,
134130
}
135131

136-
unsafe impl<T: Sync + Send> Send for Weak<T> { }
137-
unsafe impl<T: Sync + Send> Sync for Weak<T> { }
138-
139132
struct ArcInner<T> {
140133
strong: atomic::AtomicUint,
141134
weak: atomic::AtomicUint,
142135
data: T,
143136
}
144137

145-
unsafe impl<T: Sync + Send> Send for ArcInner<T> {}
146-
unsafe impl<T: Sync + Send> Sync for ArcInner<T> {}
147-
148-
impl<T> Arc<T> {
138+
impl<T: Sync + Send> Arc<T> {
149139
/// Constructs a new `Arc<T>`.
150140
///
151141
/// # Examples
@@ -597,7 +587,6 @@ mod tests {
597587
use std::str::Str;
598588
use std::sync::atomic;
599589
use std::task;
600-
use std::kinds::Send;
601590
use std::vec::Vec;
602591
use super::{Arc, Weak, weak_count, strong_count};
603592
use std::sync::Mutex;

branches/snap-stage3/src/liballoc/boxed.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ use core::hash::{mod, Hash};
1919
use core::kinds::Sized;
2020
use core::mem;
2121
use core::option::Option;
22-
use core::ptr::Unique;
2322
use core::raw::TraitObject;
2423
use core::result::Result;
2524
use core::result::Result::{Ok, Err};
@@ -45,7 +44,7 @@ pub static HEAP: () = ();
4544
/// A type that represents a uniquely-owned value.
4645
#[lang = "owned_box"]
4746
#[unstable = "custom allocators will add an additional type parameter (with default)"]
48-
pub struct Box<T>(Unique<T>);
47+
pub struct Box<T>(*mut T);
4948

5049
#[stable]
5150
impl<T: Default> Default for Box<T> {

0 commit comments

Comments
 (0)