Skip to content

Commit 5691bc2

Browse files
committed
---
yaml --- r: 156456 b: refs/heads/snap-stage3 c: fb169d5 h: refs/heads/master v: v3
1 parent 5a042e6 commit 5691bc2

File tree

30 files changed

+29
-8659
lines changed

30 files changed

+29
-8659
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: c29a7520e7fb4a5b4d4eccfc594e05793ef6688d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: dcbd49ff88d55f703e5a307e34e408d387a8a312
4+
refs/heads/snap-stage3: fb169d5543c84e11038ba2d07b538ec88fb49ca6
55
refs/heads/try: 6601b0501e31d08d3892a2d5a7d8a57ab120bf75
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/crates.mk

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
# automatically generated for all stage/host/target combinations.
5050
################################################################################
5151

52-
TARGET_CRATES := libc std green native flate arena glob term semver \
53-
uuid serialize sync getopts collections num test time rand \
54-
url log regex graphviz core rbml rlibc alloc rustrt \
52+
TARGET_CRATES := libc std green native flate arena term \
53+
serialize sync getopts collections test time rand \
54+
log regex graphviz core rbml rlibc alloc rustrt \
5555
unicode
56-
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros fmt_macros \
56+
HOST_CRATES := syntax rustc rustdoc regex_macros fmt_macros \
5757
rustc_llvm rustc_back
5858
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5959
TOOLS := compiletest rustdoc rustc
@@ -83,18 +83,13 @@ DEPS_glob := std
8383
DEPS_serialize := std log
8484
DEPS_rbml := std log serialize
8585
DEPS_term := std log
86-
DEPS_semver := std
87-
DEPS_uuid := std serialize
8886
DEPS_sync := core alloc rustrt collections
8987
DEPS_getopts := std
9088
DEPS_collections := core alloc unicode
91-
DEPS_fourcc := rustc syntax std
92-
DEPS_hexfloat := rustc syntax std
9389
DEPS_num := std
9490
DEPS_test := std getopts serialize rbml term time regex native:rust_test_helpers
9591
DEPS_time := std serialize
9692
DEPS_rand := core
97-
DEPS_url := std
9893
DEPS_log := std regex
9994
DEPS_regex := std
10095
DEPS_regex_macros = rustc syntax std regex

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3095,10 +3095,10 @@ And try to run the test:
30953095

30963096
```{notrust,ignore}
30973097
$ cargo test
3098-
Compiling testing v0.0.1 (file:///home/you/projects/testing)
3099-
/home/you/projects/testing/tests/lib.rs:3:18: 3:38 error: unresolved name `add_three_times_four`.
3100-
/home/you/projects/testing/tests/lib.rs:3 let result = add_three_times_four(5i);
3101-
^~~~~~~~~~~~~~~~~~~~
3098+
Compiling testing v0.0.1 (file:///home/youg/projects/testing)
3099+
/home/youg/projects/testing/tests/lib.rs:3:18: 3:38 error: unresolved name `add_three_times_four`.
3100+
/home/youg/projects/testing/tests/lib.rs:3 let result = add_three_times_four(5i);
3101+
^~~~~~~~~~~~~~~~~~~~
31023102
error: aborting due to previous error
31033103
Build failed, waiting for other jobs to finish...
31043104
Could not compile `testing`.

branches/snap-stage3/src/libcore/num/f32.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,7 @@ impl Float for f32 {
259259

260260
#[inline]
261261
fn sqrt(self) -> f32 {
262-
if self < 0.0 {
263-
NAN
264-
} else {
265-
unsafe { intrinsics::sqrtf32(self) }
266-
}
262+
unsafe { intrinsics::sqrtf32(self) }
267263
}
268264

269265
#[inline]

branches/snap-stage3/src/libcore/num/f64.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,7 @@ impl Float for f64 {
266266

267267
#[inline]
268268
fn sqrt(self) -> f64 {
269-
if self < 0.0 {
270-
NAN
271-
} else {
272-
unsafe { intrinsics::sqrtf64(self) }
273-
}
269+
unsafe { intrinsics::sqrtf64(self) }
274270
}
275271

276272
#[inline]
@@ -381,3 +377,4 @@ impl Float for f64 {
381377
self * (value / 180.0)
382378
}
383379
}
380+

branches/snap-stage3/src/libcore/num/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,8 +1501,6 @@ pub trait Float: Signed + Primitive {
15011501
fn frac_1_sqrt2() -> Self;
15021502

15031503
/// Take the square root of a number.
1504-
///
1505-
/// Returns NaN if `self` is not a non-negative number.
15061504
fn sqrt(self) -> Self;
15071505
/// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
15081506
fn rsqrt(self) -> Self;

branches/snap-stage3/src/libfourcc/lib.rs

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

0 commit comments

Comments
 (0)