Skip to content

Commit 4957484

Browse files
committed
---
yaml --- r: 139230 b: refs/heads/try2 c: 6d4499c h: refs/heads/master v: v3
1 parent 078832f commit 4957484

File tree

591 files changed

+11065
-9638
lines changed

Some content is hidden

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

591 files changed

+11065
-9638
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: a692777224150e2dadb5ec02c6ecd5c10ce0dd98
8+
refs/heads/try2: 6d4499ce4d948bf7b7b385b40e5b3536507ad3e8
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/RELEASES.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ Version 0.6 (March 2013)
66
* TODO:
77
* Ord/Cmp
88
* Lifetime changes
9-
* Implicit self
109
* Remove `static` keyword
1110
* Static method syntax
1211
* `as Trait`
1312
* `copy` removed, replaced with `Clone`?
14-
* `std::map` removed, replaced with `core::hashmap`
13+
* More details for "Name resolution continues to be tweaked"?
1514

1615
* Syntax changes
1716
* The self type parameter in traits is now spelled `Self`
17+
* The `self` parameter in trait and impl methods must now be explicitly
18+
named (for example: `fn f(&self) { }`). Implicit self is deprecated.
1819
* Replaced the `Durable` trait with the `'static` lifetime
1920
* The old closure type syntax with the trailing sigil has been
2021
removed in favor of the more consistent leading sigil
@@ -23,7 +24,7 @@ Version 0.6 (March 2013)
2324
* Traits are implemented with `impl Trait for Type`
2425
instead of `impl Type: Trait`
2526
* The `export` keyword has finally been removed
26-
* The `move` keyword has been removed (linear types move by default)
27+
* The `move` keyword has been removed (see "Semantic changes")
2728
* The interior mutability qualifier on vectors, `[mut T]`, has been
2829
removed. Use `&mut [T]`, etc.
2930
* `mut` is no longer valid in `~mut T`. Use inherited mutability
@@ -37,6 +38,7 @@ Version 0.6 (March 2013)
3738
function modules. Use extern blocks: `extern { ... }`
3839
* Newtype enums removed. Used tuple-structs.
3940
* Trait implementations no longer support visibility modifiers
41+
* Pattern matching over vectors improved and expanded
4042

4143
* Semantic changes
4244
* Types with owned pointers or custom destructors move by default,
@@ -49,12 +51,9 @@ Version 0.6 (March 2013)
4951
* The default type of an inferred closure is &fn instead of @fn
5052
* Name resolution continues to be tweaked
5153
* Method visibility is inherited from the implementation declaration
52-
53-
* Other language changes
5454
* Structural records have been removed
55-
* Many more types can be used in constants, including enums
55+
* Many more types can be used in constants, including enums,
5656
`static lifetime pointers and vectors
57-
* Pattern matching over vectors improved and expanded
5857
* Typechecking of closure types has been overhauled to
5958
improve inference and eliminate unsoundness
6059

@@ -68,6 +67,7 @@ Version 0.6 (March 2013)
6867
* Containers reorganized around traits in `core::container`
6968
* `core::dvec` removed, `~[T]` is a drop-in replacement
7069
* `core::send_map` renamed to `core::hashmap`
70+
* `std::map` removed; replaced with `core::hashmap`
7171
* `std::treemap` reimplemented as an owned balanced tree
7272
* `std::deque` and `std::smallintmap` reimplemented as owned containers
7373
* `core::trie` added as a fast ordered map for integer keys
@@ -76,14 +76,14 @@ Version 0.6 (March 2013)
7676
* Tools
7777
* Replaced the 'cargo' package manager with 'rustpkg'
7878
* Added all-purpose 'rust' tool
79-
* `rustc --test` now supports a benchmarks with the `#[bench]` attribute
79+
* `rustc --test` now supports benchmarks with the `#[bench]` attribute
8080
* rustc now attempts to offer spelling suggestions
8181

8282
* Misc
8383
* Improved support for ARM and Android
8484
* Preliminary MIPS backend
8585
* Improved foreign function ABI implementation for x86, x86_64
86-
* Various and memory usage improvements
86+
* Various memory usage improvements
8787
* Rust code may be embedded in foreign code under limited circumstances
8888

8989
Version 0.5 (December 2012)

branches/try2/configure

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,17 @@ validate_opt () {
136136
isArgValid=1
137137
fi
138138
done
139-
if test $isArgValid -eq 0
139+
if [ "$arg" = "--help" ]
140140
then
141-
err "Option '$arg' is not recognized"
141+
echo ""
142+
echo "No more help available for Configure options,"
143+
echo "check the Wiki or join our IRC channel"
144+
break
145+
else
146+
if test $isArgValid -eq 0
147+
then
148+
err "Option '$arg' is not recognized"
149+
fi
142150
fi
143151
done
144152
}
@@ -266,13 +274,42 @@ case $CFG_OSTYPE in
266274
MINGW32*)
267275
CFG_OSTYPE=pc-mingw32
268276
;;
277+
# Thad's Cygwin identifers below
278+
279+
# Vista 32 bit
280+
CYGWIN_NT-6.0)
281+
CFG_OSTYPE=pc-mingw32
282+
CFG_CPUTYPE=i686
283+
;;
284+
285+
# Vista 64 bit
286+
CYGWIN_NT-6.0-WOW64)
287+
CFG_OSTYPE=w64-mingw32
288+
CFG_CPUTYPE=x86_64
289+
;;
290+
291+
# Win 7 32 bit
292+
CYGWIN_NT-6.1)
293+
CFG_OSTYPE=pc-mingw32
294+
CFG_CPUTYPE=i686
295+
;;
269296

297+
# Win 7 64 bit
298+
CYGWIN_NT-6.1-WOW64)
299+
CFG_OSTYPE=w64-mingw32
300+
CFG_CPUTYPE=x86_64
301+
;;
302+
303+
# We do not detect other OS such as XP/2003 using 64 bit using uname.
304+
# If we want to in the future, we will need to use Cygwin - Chuck's csih helper in /usr/lib/csih/winProductName.exe or alternative.
270305
*)
271306
err "unknown OS type: $CFG_OSTYPE"
272307
;;
273308
esac
274309

275310

311+
if [ -z "$CFG_CPUTYPE" ]
312+
then
276313
case $CFG_CPUTYPE in
277314

278315
i386 | i486 | i686 | i786 | x86)
@@ -290,6 +327,7 @@ case $CFG_CPUTYPE in
290327
*)
291328
err "unknown CPU type: $CFG_CPUTYPE"
292329
esac
330+
fi
293331

294332
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
295333
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
@@ -519,7 +557,7 @@ then
519557
| cut -d ' ' -f 2)
520558

521559
case $CFG_CLANG_VERSION in
522-
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1* | 4.2*)
560+
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 4.0* | 4.1* | 4.2*)
523561
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
524562
CFG_C_COMPILER="clang"
525563
;;

0 commit comments

Comments
 (0)