diff options
| author | Roy Frostig <[email protected]> | 2010-08-12 19:20:29 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-08-12 19:20:29 -0700 |
| commit | 73ee16b1a41fef7aeb7b08aaac835200ce857c48 (patch) | |
| tree | ff077923125d3e5f15e022af7bf8481020976325 /src | |
| parent | Zero LMA/VMA of debug sections in elf. Closes #148. (diff) | |
| download | rust-73ee16b1a41fef7aeb7b08aaac835200ce857c48.tar.xz rust-73ee16b1a41fef7aeb7b08aaac835200ce857c48.zip | |
A little tidy-up that should have gone in with 4e376852e709844d67f94430d9dc954d5be722b4.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 | ||||
| -rw-r--r-- | src/test/run-pass/size-and-align.rs | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 5b1f7ae2..6b1f7d19 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -112,8 +112,8 @@ extern "C" CDECL void vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v) { task->log(rust_log::STDLIB, - "vec_print_debug_info(%" PRIxPTR ")" - " with tydesc %" PRIxPTR + "vec_print_debug_info(0x%" PRIxPTR ")" + " with tydesc 0x%" PRIxPTR " (size = %" PRIdPTR ", align = %" PRIdPTR ")" " alloc = %" PRIdPTR ", fill = %" PRIdPTR " , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill); diff --git a/src/test/run-pass/size-and-align.rs b/src/test/run-pass/size-and-align.rs index 94fa3bc1..4da22558 100644 --- a/src/test/run-pass/size-and-align.rs +++ b/src/test/run-pass/size-and-align.rs @@ -1,8 +1,5 @@ // -*- rust -*- -use std; -import std._vec; - type clam[T] = tag(a(T, int), b()); fn uhoh[T](vec[clam[T]] v) { |