Skip to content

Commit 03e33c0

Browse files
committed
---
yaml --- r: 148159 b: refs/heads/try2 c: 65ce505 h: refs/heads/master i: 148157: fa01dba 148155: 9c412c5 148151: 3a22910 148143: a99faa2 148127: d2f627c 148095: e9fad36 v: v3
1 parent d10cff0 commit 03e33c0

File tree

360 files changed

+23024
-9391
lines changed

Some content is hidden

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

360 files changed

+23024
-9391
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 28ddc6537fcec5eb6033c78709b288abf72e8ae7
8+
refs/heads/try2: 65ce505819b0f2e06ed39802d293bff182aedc16
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,3 @@ src/etc/dl
9595
build/
9696
i686-pc-mingw32/
9797
src/librustc/lib/llvmdeps.rs
98-
*.pot

branches/try2/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/try2/COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terms.
66

77
Longer version:
88

9-
The Rust Project is copyright 2014, The Rust Project
9+
The Rust Project is copyright 2013, The Rust Project
1010
Developers (given in the file AUTHORS.txt).
1111

1212
Licensed under the Apache License, Version 2.0

branches/try2/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright (c) 2006-2009 Graydon Hoare
2-
Copyright (c) 2009-2014 Mozilla Foundation
2+
Copyright (c) 2009-2013 Mozilla Foundation
33

44
Permission is hereby granted, free of charge, to any
55
person obtaining a copy of this software and associated

branches/try2/Makefile.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,12 @@ export CFG_SRC_DIR
410410
export CFG_BUILD_DIR
411411
export CFG_VERSION
412412
export CFG_VERSION_WIN
413-
export CFG_RELEASE
414413
export CFG_BUILD
415414
export CFG_LLVM_ROOT
416415
export CFG_ENABLE_MINGW_CROSS
417416
export CFG_PREFIX
418417
export CFG_LIBDIR
419418
export CFG_RUSTLIBDIR
420-
export LIBDIR_RELATIVE
421419

422420
######################################################################
423421
# Subprograms
@@ -435,12 +433,12 @@ define SREQ
435433
# Destinations of artifacts for the host compiler
436434
HROOT$(1)_H_$(3) = $(3)/stage$(1)
437435
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
438-
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(LIBDIR_RELATIVE)
436+
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR)
439437

440438
# Destinations of artifacts for target architectures
441439
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLIBDIR)/$(2)
442440
TBIN$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/bin
443-
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)
444442

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

branches/try2/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/try2/configure

Lines changed: 21 additions & 25 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,12 +800,10 @@ 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
809-
make_dir $h/test/doc-complement-cheatsheet
810807
make_dir $h/test/doc-rust
811808
done
812809

@@ -1041,7 +1038,6 @@ putvar CFG_TARGET
10411038
putvar CFG_C_COMPILER
10421039
putvar CFG_LIBDIR
10431040
putvar CFG_RUSTLIBDIR
1044-
putvar LIBDIR_RELATIVE
10451041
putvar CFG_DISABLE_MANAGE_SUBMODULES
10461042
putvar CFG_ANDROID_CROSS_PATH
10471043
putvar CFG_MINGW32_CROSS_PATH

0 commit comments

Comments
 (0)