Skip to content

Commit 920e924

Browse files
author
kud1ing
committed
---
yaml --- r: 148206 b: refs/heads/try2 c: 6bbd2ed h: refs/heads/master v: v3
1 parent 6e14ab8 commit 920e924

File tree

545 files changed

+26682
-14419
lines changed

Some content is hidden

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

545 files changed

+26682
-14419
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: 4bdda359c3cf41e36ba01ca6aef826aca7cc81c0
8+
refs/heads/try2: 6bbd2ed98e2332d4ba7164b7c35b9b67e0257ab3
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/.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[submodule "src/llvm"]
22
path = src/llvm
3-
url = https://github.com/rust-lang/llvm.git
3+
url = https://github.com/luqmana/llvm.git
44
branch = master
55
[submodule "src/libuv"]
66
path = src/libuv
7-
url = https://github.com/rust-lang/libuv.git
7+
url = https://github.com/alexcrichton/libuv.git
88
branch = master
99
[submodule "src/gyp"]
1010
path = src/gyp
11-
url = https://github.com/rust-lang/gyp.git
11+
url = https://github.com/alexcrichton/gyp.git

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: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# stageN - this is the system root, corresponding to, e.g. /usr
3434
# bin - binaries compiled for the host
3535
# lib - libraries used by the host compiler
36-
# rustlib - rustc's own place to organize libraries
36+
# rustc - rustc's own place to organize libraries
3737
# $(target) - target-specific artifacts
3838
# bin - binaries for target architectures
3939
# lib - libraries for target architectures
@@ -410,14 +410,11 @@ 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
419-
export CFG_RUSTLIBDIR
420-
export LIBDIR_RELATIVE
421418

422419
######################################################################
423420
# Subprograms
@@ -435,12 +432,12 @@ define SREQ
435432
# Destinations of artifacts for the host compiler
436433
HROOT$(1)_H_$(3) = $(3)/stage$(1)
437434
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
438-
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(LIBDIR_RELATIVE)
435+
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR)
439436

440437
# Destinations of artifacts for target architectures
441-
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLIBDIR)/$(2)
438+
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/rustc/$(2)
442439
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
440+
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/$$(CFG_LIBDIR)
444441

445442
# The name of the standard and extra libraries used by rustc
446443
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: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -397,18 +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"
411-
valopt rustlibdir "rustlib" "subdirectory name for rustc's libraries"
400+
valopt libdir "${CFG_PREFIX}/lib" "install libraries"
412401

413402
# Validate Options
414403
step_msg "validating $CFG_SELF args"
@@ -570,10 +559,10 @@ then
570559
step_msg "on OS X 10.9, forcing use of clang"
571560
CFG_ENABLE_CLANG=1
572561
putvar CFG_ENABLE_CLANG
573-
else
574-
# on OS X, with xcode 5 and newer, certain developers may have
562+
else
563+
# on OS X, with xcode 5 and newer, certain developers may have
575564
# cc, gcc and g++ point to a mixture of clang and gcc
576-
# if so, this will create very strange build errors
565+
# if so, this will create very strange build errors
577566
# this last stanza is to detect some such problems and save the future rust
578567
# contributor some time solving that issue.
579568
# this detection could be generalized to other OSes aside from OS X
@@ -586,8 +575,8 @@ then
586575
# note that for xcode 5, g++ points to clang, not clang++
587576
if !((chk_cc gcc clang && chk_cc g++ clang) ||
588577
(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.
578+
err "the gcc and g++ in your path point to different compilers.
579+
Check which versions are in your path with cc --version and g++ --version.
591580
To resolve this problem, either fix your PATH or run configure with --enable-clang"
592581
fi
593582

@@ -761,6 +750,15 @@ do
761750
done
762751
done
763752

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

773771
# host lib dir
774-
make_dir $h/stage$i/$LIBDIR_RELATIVE
772+
make_dir $h/stage$i/$CFG_LIBDIR
775773

776774
# host test dir
777775
make_dir $h/stage$i/test
778776

779777
# target bin dir
780-
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/bin
778+
make_dir $h/stage$i/$CFG_LIBDIR/rustc/$t/bin
781779

782780
# target lib dir
783-
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/lib
781+
make_dir $h/stage$i/$CFG_LIBDIR/rustc/$t/$CFG_LIBDIR
784782
done
785783
done
786784

@@ -794,14 +792,12 @@ do
794792
make_dir $h/test/debug-info
795793
make_dir $h/test/codegen
796794
make_dir $h/test/doc-tutorial
797-
make_dir $h/test/doc-guide-ffi
798-
make_dir $h/test/doc-guide-macros
799-
make_dir $h/test/doc-guide-lifetimes
800-
make_dir $h/test/doc-guide-pointers
801-
make_dir $h/test/doc-guide-container
802-
make_dir $h/test/doc-guide-tasks
803-
make_dir $h/test/doc-guide-conditions
804-
make_dir $h/test/doc-complement-cheatsheet
795+
make_dir $h/test/doc-tutorial-ffi
796+
make_dir $h/test/doc-tutorial-macros
797+
make_dir $h/test/doc-tutorial-borrowed-ptr
798+
make_dir $h/test/doc-tutorial-container
799+
make_dir $h/test/doc-tutorial-tasks
800+
make_dir $h/test/doc-tutorial-conditions
805801
make_dir $h/test/doc-rust
806802
done
807803

@@ -1035,8 +1031,6 @@ putvar CFG_HOST
10351031
putvar CFG_TARGET
10361032
putvar CFG_C_COMPILER
10371033
putvar CFG_LIBDIR
1038-
putvar CFG_RUSTLIBDIR
1039-
putvar LIBDIR_RELATIVE
10401034
putvar CFG_DISABLE_MANAGE_SUBMODULES
10411035
putvar CFG_ANDROID_CROSS_PATH
10421036
putvar CFG_MINGW32_CROSS_PATH

branches/try2/doc/complement-bugreport.md

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

0 commit comments

Comments
 (0)