Skip to content

Commit efdf2d0

Browse files
committed
---
yaml --- r: 49902 b: refs/heads/auto c: 67b0f3d h: refs/heads/master v: v3
1 parent 19590d4 commit efdf2d0

File tree

11 files changed

+233
-121
lines changed

11 files changed

+233
-121
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 9c32de59acc898746806053acee0674fda3d15da
17+
refs/heads/auto: 67b0f3d5b2d88ea9b5c0a667fc3dbdf794e5c054
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/RELEASES.txt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Version 0.6 (March 2013)
1010
* Remove `static` keyword
1111
* Static method syntax
1212
* `as Trait`
13-
* `copy` removed, replaced with `Clone`?
14-
* `std::map` removed, replaced with `core::hashmap`
13+
* `copy` removed?
1514

1615
* Syntax changes
1716
* The self type parameter in traits is now spelled `Self`
@@ -39,8 +38,7 @@ Version 0.6 (March 2013)
3938
* Trait implementations no longer support visibility modifiers
4039

4140
* Semantic changes
42-
* Types with owned pointers or custom destructors move by default,
43-
eliminating the `move` keyword
41+
* Linear types move by default, eliminating the `move` keyword
4442
* All foreign functions are considered unsafe
4543
* &mut is now unaliasable
4644
* Writes to borrowed @mut pointers are prevented dynamically
@@ -59,19 +57,16 @@ Version 0.6 (March 2013)
5957
improve inference and eliminate unsoundness
6058

6159
* Libraries
60+
* Lots of effort to organize the container API's around `core::container`
61+
* `core::send_map` renamed to `core::hashmap`
6262
* Added big integers to `std::bigint`
6363
* Removed `core::oldcomm` module
6464
* Added pipe-based `core::comm` module
65+
* Reimplemented `std::treemap`
6566
* Numeric traits have been reorganized under `core::num`
67+
* `core::dvec` removed. Use `@mut ~[T]` or other language types
6668
* `vec::slice` finally returns a slice
6769
* `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
68-
* Containers reorganized around traits in `core::container`
69-
* `core::dvec` removed, `~[T]` is a drop-in replacement
70-
* `core::send_map` renamed to `core::hashmap`
71-
* `std::treemap` reimplemented as an owned balanced tree
72-
* `std::deque` and `std::smallintmap` reimplemented as owned containers
73-
* `core::trie` added as a fast ordered map for integer keys
74-
* Set types added to `core::hashmap`, `core::trie` and `std::treemap`
7570

7671
* Tools
7772
* Replaced the 'cargo' package manager with 'rustpkg'

branches/auto/mk/tests.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ ifeq ($(CFG_GDB),)
386386
CTEST_DISABLE_debuginfo = "no gdb found"
387387
endif
388388

389+
ifeq ($(CFG_OSTYPE),apple-darwin)
390+
CTEST_DISABLE_debuginfo = "gdb on darwing needs root"
391+
endif
392+
389393
define DEF_CTEST_VARS
390394

391395
# All the per-stage build rules you might want to call from the

branches/auto/src/compiletest/runtest.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,15 @@ actual:\n\
225225
}
226226

227227
fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) {
228+
// do not optimize debuginfo tests
229+
let config = match config.rustcflags {
230+
Some(flags) => config {
231+
rustcflags: Some(str::replace(flags, ~"-O", ~"")),
232+
.. config
233+
},
234+
None => config
235+
};
236+
228237
// compile test file (it shoud have 'compile-flags:-g' in the header)
229238
let mut ProcRes = compile_test(config, props, testfile);
230239
if ProcRes.status != 0 {
@@ -267,8 +276,8 @@ fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) {
267276
}
268277
}
269278
if i != num_check_lines {
270-
fatal(fmt!("line not found in debugger output: %s",
271-
props.check_lines[i]));
279+
fatal_ProcRes(fmt!("line not found in debugger output: %s"
280+
props.check_lines[i]), ProcRes);
272281
}
273282
}
274283
}

branches/auto/src/librust/rust.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// except according to those terms.
1010

1111
// rust - central access to other rust tools
12-
// XXX: Make commands run and test emit proper file endings on winds
13-
// XXX: Make run only accept source that emits an executable
12+
// FIXME #2238 Make commands run and test emit proper file endings on winds
13+
// FIXME #2238 Make run only accept source that emits an executable
1414

1515
#[deny(deprecated_self)];
1616

branches/auto/src/librustc/middle/trans/base.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ pub fn in_lpad_scope_cx(bcx: block, f: &fn(+si: &mut scope_info)) {
867867
let mut bcx = bcx;
868868
loop {
869869
{
870-
// XXX: Borrow check bug workaround.
870+
// FIXME #4280: Borrow check bug workaround.
871871
let kind: &mut block_kind = &mut *bcx.kind;
872872
match *kind {
873873
block_scope(ref mut inf) => {
@@ -1272,7 +1272,7 @@ pub fn cleanup_and_leave(bcx: block,
12721272
}
12731273

12741274
{
1275-
// XXX: Borrow check bug workaround.
1275+
// FIXME #4280: Borrow check bug workaround.
12761276
let kind: &mut block_kind = &mut *cur.kind;
12771277
match *kind {
12781278
block_scope(ref mut inf) if !inf.cleanups.is_empty() => {
@@ -1850,8 +1850,7 @@ pub fn trans_enum_variant(ccx: @CrateContext,
18501850
};
18511851
let fcx = new_fn_ctxt_w_id(ccx, ~[], llfndecl, variant.node.id, None,
18521852
param_substs, None);
1853-
// XXX: Bad copy.
1854-
let raw_llargs = create_llargs_for_fn_args(fcx, no_self, copy fn_args);
1853+
let raw_llargs = create_llargs_for_fn_args(fcx, no_self, fn_args);
18551854
let ty_param_substs = match param_substs {
18561855
Some(ref substs) => /*bad*/copy substs.tys,
18571856
None => ~[]

0 commit comments

Comments
 (0)