Skip to content

Commit e81dd53

Browse files
committed
---
yaml --- r: 272015 b: refs/heads/master c: a4e2933 h: refs/heads/master i: 272013: a8ddd64 272011: 3a794fa 272007: b570c9e 271999: 7b901c9
1 parent 56121fe commit e81dd53

Some content is hidden

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

65 files changed

+861
-1559
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7ed71c20e385d193c3bde4bb54c4ae6969ac9615
2+
refs/heads/master: a4e2933c6a26841aa22031c0e0edb7582e5ba657
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/mk/rt.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ else ifeq ($(findstring android, $(OSTYPE_$(1))), android)
157157
# If the test suite passes, however, without symbol prefixes then we should be
158158
# good to go!
159159
JEMALLOC_ARGS_$(1) := --disable-tls --with-jemalloc-prefix=je_
160-
else ifeq ($(findstring dragonfly, $(OSTYPE_$(1))), dragonfly)
161-
JEMALLOC_ARGS_$(1) := --with-jemalloc-prefix=je_
162160
endif
163161

164162
ifdef CFG_ENABLE_DEBUG_JEMALLOC

trunk/src/liballoc_jemalloc/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ fn main() {
8686
// should be good to go!
8787
cmd.arg("--with-jemalloc-prefix=je_");
8888
cmd.arg("--disable-tls");
89-
} else if target.contains("dragonfly") {
90-
cmd.arg("--with-jemalloc-prefix=je_");
9189
}
9290

9391
if cfg!(feature = "debug-jemalloc") {

trunk/src/liballoc_jemalloc/lib.rs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,22 @@ use libc::{c_int, c_void, size_t};
4242
extern {}
4343

4444
// Note that the symbols here are prefixed by default on OSX (we don't
45-
// explicitly request it), and on Android and DragonFly we explicitly request
46-
// it as unprefixing cause segfaults (mismatches in allocators).
45+
// explicitly request it), and on Android we explicitly request it as
46+
// unprefixing cause segfaults (mismatches in allocators).
4747
extern {
48-
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios",
49-
target_os = "dragonfly"),
48+
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios"),
5049
link_name = "je_mallocx")]
5150
fn mallocx(size: size_t, flags: c_int) -> *mut c_void;
52-
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios",
53-
target_os = "dragonfly"),
51+
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios"),
5452
link_name = "je_rallocx")]
5553
fn rallocx(ptr: *mut c_void, size: size_t, flags: c_int) -> *mut c_void;
56-
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios",
57-
target_os = "dragonfly"),
54+
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios"),
5855
link_name = "je_xallocx")]
5956
fn xallocx(ptr: *mut c_void, size: size_t, extra: size_t, flags: c_int) -> size_t;
60-
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios",
61-
target_os = "dragonfly"),
57+
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios"),
6258
link_name = "je_sdallocx")]
6359
fn sdallocx(ptr: *mut c_void, size: size_t, flags: c_int);
64-
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios",
65-
target_os = "dragonfly"),
60+
#[cfg_attr(any(target_os = "macos", target_os = "android", target_os = "ios"),
6661
link_name = "je_nallocx")]
6762
fn nallocx(size: size_t, flags: c_int) -> size_t;
6863
}

trunk/src/libcore/num/dec2flt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ from_str_float_impl!(f64);
154154
/// for [`f32`] and [`f64`].
155155
///
156156
/// [`FromStr`]: ../str/trait.FromStr.html
157-
/// [`f32`]: ../../std/primitive.f32.html
158-
/// [`f64`]: ../../std/primitive.f64.html
157+
/// [`f32`]: ../primitive.f32.html
158+
/// [`f64`]: ../primitive.f64.html
159159
#[derive(Debug, Clone, PartialEq)]
160160
#[stable(feature = "rust1", since = "1.0.0")]
161161
pub struct ParseFloatError {

trunk/src/librustc/infer/combine.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use super::equate::Equate;
3737
use super::glb::Glb;
3838
use super::lub::Lub;
3939
use super::sub::Sub;
40-
use super::InferCtxt;
40+
use super::{InferCtxt};
4141
use super::{MiscVariable, TypeTrace};
4242
use super::type_variable::{RelationDir, BiTo, EqTo, SubtypeOf, SupertypeOf};
4343

@@ -46,7 +46,6 @@ use ty::{self, Ty, TyCtxt};
4646
use ty::error::TypeError;
4747
use ty::fold::{TypeFolder, TypeFoldable};
4848
use ty::relate::{Relate, RelateResult, TypeRelation};
49-
use traits::PredicateObligations;
5049

5150
use syntax::ast;
5251
use syntax::codemap::Span;
@@ -57,7 +56,6 @@ pub struct CombineFields<'a, 'tcx: 'a> {
5756
pub a_is_expected: bool,
5857
pub trace: TypeTrace<'tcx>,
5958
pub cause: Option<ty::relate::Cause>,
60-
pub obligations: PredicateObligations<'tcx>,
6159
}
6260

6361
pub fn super_combine_tys<'a,'tcx:'a,R>(infcx: &InferCtxt<'a, 'tcx>,

trunk/src/librustc/infer/equate.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use super::type_variable::{EqTo};
1616
use ty::{self, Ty, TyCtxt};
1717
use ty::TyVar;
1818
use ty::relate::{Relate, RelateResult, TypeRelation};
19-
use traits::PredicateObligations;
2019

2120
/// Ensures `a` is made equal to `b`. Returns `a` on success.
2221
pub struct Equate<'a, 'tcx: 'a> {
@@ -27,10 +26,6 @@ impl<'a, 'tcx> Equate<'a, 'tcx> {
2726
pub fn new(fields: CombineFields<'a, 'tcx>) -> Equate<'a, 'tcx> {
2827
Equate { fields: fields }
2928
}
30-
31-
pub fn obligations(self) -> PredicateObligations<'tcx> {
32-
self.fields.obligations
33-
}
3429
}
3530

3631
impl<'a, 'tcx> TypeRelation<'a,'tcx> for Equate<'a, 'tcx> {

trunk/src/librustc/infer/glb.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use super::Subtype;
1616

1717
use ty::{self, Ty, TyCtxt};
1818
use ty::relate::{Relate, RelateResult, TypeRelation};
19-
use traits::PredicateObligations;
2019

2120
/// "Greatest lower bound" (common subtype)
2221
pub struct Glb<'a, 'tcx: 'a> {
@@ -27,10 +26,6 @@ impl<'a, 'tcx> Glb<'a, 'tcx> {
2726
pub fn new(fields: CombineFields<'a, 'tcx>) -> Glb<'a, 'tcx> {
2827
Glb { fields: fields }
2928
}
30-
31-
pub fn obligations(self) -> PredicateObligations<'tcx> {
32-
self.fields.obligations
33-
}
3429
}
3530

3631
impl<'a, 'tcx> TypeRelation<'a, 'tcx> for Glb<'a, 'tcx> {

trunk/src/librustc/infer/lub.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use super::Subtype;
1616

1717
use ty::{self, Ty, TyCtxt};
1818
use ty::relate::{Relate, RelateResult, TypeRelation};
19-
use traits::PredicateObligations;
2019

2120
/// "Least upper bound" (common supertype)
2221
pub struct Lub<'a, 'tcx: 'a> {
@@ -27,10 +26,6 @@ impl<'a, 'tcx> Lub<'a, 'tcx> {
2726
pub fn new(fields: CombineFields<'a, 'tcx>) -> Lub<'a, 'tcx> {
2827
Lub { fields: fields }
2928
}
30-
31-
pub fn obligations(self) -> PredicateObligations<'tcx> {
32-
self.fields.obligations
33-
}
3429
}
3530

3631
impl<'a, 'tcx> TypeRelation<'a, 'tcx> for Lub<'a, 'tcx> {

0 commit comments

Comments
 (0)