Skip to content

Commit 934b9f8

Browse files
committed
---
yaml --- r: 97515 b: refs/heads/snap-stage3 c: b7ff9c1 h: refs/heads/master i: 97513: ce753f6 97511: 7c89df0 v: v3
1 parent 8677b21 commit 934b9f8

Some content is hidden

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

84 files changed

+1310
-2078
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: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9da4eac91f3d03c1f5e5b26f5a89e234ae4b6eea
4+
refs/heads/snap-stage3: b7ff9c1a599eab76d25c476afc8097aab2a3d502
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/AUTHORS.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ Lindsey Kuper <[email protected]>
225225
Luca Bruno <[email protected]>
226226
Luis de Bethencourt <[email protected]>
227227
Luqman Aden <[email protected]>
228-
229228
Magnus Auvinen <[email protected]>
230229
Mahmut Bulut <[email protected]>
231230
maikklein <[email protected]>
@@ -241,7 +240,6 @@ Martin DeMello <[email protected]>
241240
Marvin Löbel <[email protected]>
242241
Matt Brubeck <[email protected]>
243242
Matt Carberry <[email protected]>
244-
Matthew Auld <[email protected]>
245243
Matthew Iselin <[email protected]>
246244
Matthew McPherrin <[email protected]>
247245
Matthew O'Connor <[email protected]>

branches/snap-stage3/Makefile.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ export CFG_ENABLE_MINGW_CROSS
416416
export CFG_PREFIX
417417
export CFG_LIBDIR
418418
export CFG_RUSTLIBDIR
419-
export LIBDIR_RELATIVE
420419

421420
######################################################################
422421
# Subprograms
@@ -434,12 +433,12 @@ define SREQ
434433
# Destinations of artifacts for the host compiler
435434
HROOT$(1)_H_$(3) = $(3)/stage$(1)
436435
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
437-
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(LIBDIR_RELATIVE)
436+
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR)
438437

439438
# Destinations of artifacts for target architectures
440439
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLIBDIR)/$(2)
441440
TBIN$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/bin
442-
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/lib
441+
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/$$(CFG_LIBDIR)
443442

444443
# The name of the standard and extra libraries used by rustc
445444
HSTDLIB_DEFAULT$(1)_H_$(3) = \

branches/snap-stage3/RELEASES.txt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Version 0.9 (January 2014)
22
--------------------------
33

4-
* ~1800 changes, numerous bugfixes
4+
* ~1600 changes, numerous bugfixes
55

66
* Language
77
* The `float` type has been removed. Use `f32` or `f64` instead.
@@ -22,9 +22,6 @@ Version 0.9 (January 2014)
2222
* `@fn`s have been removed.
2323
* `do` only works with procs in order to make it obvious what the cost
2424
of `do` is.
25-
* Single-element tuple-like structs can no longer be dereferenced to
26-
obtain the inner value. A more comprehensive solution for overloading
27-
the dereference operator will be provided in the future.
2825
* The `#[link(...)]` attribute has been replaced with
2926
`#[crate_id = "name#vers"]`.
3027
* Empty `impl`s must be terminated with empty braces and may not be
@@ -35,8 +32,6 @@ Version 0.9 (January 2014)
3532
* `printf!` and `printfln!` (old-style formatting) removed in favor of
3633
`print!` and `println!`.
3734
* `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
38-
* The `extern mod foo (name = "bar")` syntax has been removed. Use
39-
`extern mod foo = "bar"` instead.
4035
* New reserved keywords: `alignof`, `offsetof`, `sizeof`.
4136
* Macros can have attributes.
4237
* Macros can expand to items with attributes.
@@ -81,7 +76,6 @@ Version 0.9 (January 2014)
8176
variables. Currently behind the `thread_local` feature gate.
8277
* The `return` keyword may be used in closures.
8378
* Types that can be copied via a memcpy implement the `Pod` kind.
84-
* The `cfg` attribute can now be used on struct fields and enum variants.
8579

8680
* Libraries
8781
* std: The `option` and `result` API's have been overhauled to make them
@@ -96,14 +90,9 @@ Version 0.9 (January 2014)
9690
* std: The reference counted pointer type `extra::rc` moved into std.
9791
* std: The `Gc` type in the `gc` module will replace `@` (it is currently
9892
just a wrapper around it).
99-
* std: The `Either` type has been removed.
10093
* std: `fmt::Default` can be implemented for any type to provide default
10194
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
10295
* std: The `rand` API continues to be tweaked.
103-
* std: The `rust_begin_unwind` function, useful for insterting breakpoints
104-
on failure in gdb, is now named `rust_fail`.
105-
* std: The `each_key` and `each_value` methods on `HashMap` have been
106-
replaced by the `keys` and `values` iterators.
10796
* std: Functions dealing with type size and alignment have moved from the
10897
`sys` module to the `mem` module.
10998
* std: The `path` module was written and API changed.

branches/snap-stage3/configure

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -397,17 +397,7 @@ valopt sysconfdir "/etc" "install system configuration files"
397397
valopt datadir "${CFG_PREFIX}/share" "install data"
398398
valopt infodir "${CFG_PREFIX}/share/info" "install additional info"
399399
valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
400-
401-
# On windows we just store the libraries in the bin directory because
402-
# there's no rpath
403-
# FIXME: Thise needs to parameterized over target triples. Do it in platform.mk
404-
LIBDIR_RELATIVE=lib
405-
if [ "$CFG_OSTYPE" = "pc-mingw32" ]
406-
then
407-
LIBDIR_RELATIVE=bin
408-
fi
409-
410-
valopt libdir "${CFG_PREFIX}/${LIBDIR_RELATIVE}" "install libraries"
400+
valopt libdir "${CFG_PREFIX}/lib" "install libraries"
411401
valopt rustlibdir "rustlib" "subdirectory name for rustc's libraries"
412402

413403
# Validate Options
@@ -570,10 +560,10 @@ then
570560
step_msg "on OS X 10.9, forcing use of clang"
571561
CFG_ENABLE_CLANG=1
572562
putvar CFG_ENABLE_CLANG
573-
else
574-
# on OS X, with xcode 5 and newer, certain developers may have
563+
else
564+
# on OS X, with xcode 5 and newer, certain developers may have
575565
# cc, gcc and g++ point to a mixture of clang and gcc
576-
# if so, this will create very strange build errors
566+
# if so, this will create very strange build errors
577567
# this last stanza is to detect some such problems and save the future rust
578568
# contributor some time solving that issue.
579569
# this detection could be generalized to other OSes aside from OS X
@@ -586,8 +576,8 @@ then
586576
# note that for xcode 5, g++ points to clang, not clang++
587577
if !((chk_cc gcc clang && chk_cc g++ clang) ||
588578
(chk_cc gcc gcc &&( chk_cc g++ g++ || chk g++ gcc))) then
589-
err "the gcc and g++ in your path point to different compilers.
590-
Check which versions are in your path with cc --version and g++ --version.
579+
err "the gcc and g++ in your path point to different compilers.
580+
Check which versions are in your path with cc --version and g++ --version.
591581
To resolve this problem, either fix your PATH or run configure with --enable-clang"
592582
fi
593583

@@ -761,6 +751,15 @@ do
761751
done
762752
done
763753

754+
# On windows we just store the libraries in the bin directory because
755+
# there's no rpath
756+
# FIXME: Thise needs to parameterized over target triples. Do it in platform.mk
757+
CFG_LIBDIR=lib
758+
if [ "$CFG_OSTYPE" = "pc-mingw32" ]
759+
then
760+
CFG_LIBDIR=bin
761+
fi
762+
764763
for h in $CFG_HOST
765764
do
766765
for t in $CFG_TARGET
@@ -771,21 +770,21 @@ do
771770
make_dir $h/stage$i/bin
772771

773772
# host lib dir
774-
make_dir $h/stage$i/$LIBDIR_RELATIVE
773+
make_dir $h/stage$i/$CFG_LIBDIR
775774

776775
# host test dir
777776
make_dir $h/stage$i/test
778777

779778
# target bin dir
780-
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/bin
779+
make_dir $h/stage$i/$CFG_LIBDIR/$CFG_RUSTLIBDIR/$t/bin
781780

782781
# target lib dir
783-
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/lib
782+
make_dir $h/stage$i/$CFG_LIBDIR/$CFG_RUSTLIBDIR/$t/$CFG_LIBDIR
784783
done
785784

786785
# Fix stage0:
787-
make_dir $h/stage0/$LIBDIR_RELATIVE/rustc/$t/bin
788-
make_dir $h/stage0/$LIBDIR_RELATIVE/rustc/$t/$LIBDIR_RELATIVE
786+
make_dir $h/stage0/$CFG_LIBDIR/rustc/$t/bin
787+
make_dir $h/stage0/$CFG_LIBDIR/rustc/$t/$CFG_LIBDIR
789788

790789
done
791790

@@ -801,8 +800,7 @@ do
801800
make_dir $h/test/doc-tutorial
802801
make_dir $h/test/doc-guide-ffi
803802
make_dir $h/test/doc-guide-macros
804-
make_dir $h/test/doc-guide-lifetimes
805-
make_dir $h/test/doc-guide-pointers
803+
make_dir $h/test/doc-guide-borrowed-ptr
806804
make_dir $h/test/doc-guide-container
807805
make_dir $h/test/doc-guide-tasks
808806
make_dir $h/test/doc-guide-conditions
@@ -1040,7 +1038,6 @@ putvar CFG_TARGET
10401038
putvar CFG_C_COMPILER
10411039
putvar CFG_LIBDIR
10421040
putvar CFG_RUSTLIBDIR
1043-
putvar LIBDIR_RELATIVE
10441041
putvar CFG_DISABLE_MANAGE_SUBMODULES
10451042
putvar CFG_ANDROID_CROSS_PATH
10461043
putvar CFG_MINGW32_CROSS_PATH

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ return result + val;
278278
This solves the indentation problem. But if we have a lot of chained matches
279279
like this, we might prefer to write a single macro invocation. The input
280280
pattern we want is clear:
281-
282281
~~~~
283282
# macro_rules! b(
284283
( $( ($e:expr) ~ ($p:pat) else $err:stmt ; )*
@@ -305,7 +304,6 @@ input patterns:
305304
( binds $( $bind_res:ident ),* )
306305
# => (0))
307306
~~~~
308-
309307
...and:
310308

311309
~~~~

0 commit comments

Comments
 (0)