diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-25 12:16:34 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-25 12:17:05 -0700 |
| commit | ee7fa194faa0b8140a07a19afc44703916659950 (patch) | |
| tree | dd46e01581a7dbfdc7e7e7c3e6ee6bd5fe8529a8 /src/rt/rust_builtin.cpp | |
| parent | f813f519a5cecfd988cf238277021662afaff34a (diff) | |
| download | rust-ee7fa194faa0b8140a07a19afc44703916659950.tar.gz rust-ee7fa194faa0b8140a07a19afc44703916659950.zip | |
Revert "rustc: Stop using shape code for logging" due to ICEs
This reverts commit ac822a52be47579ffa59d5ca3e125680a79545d0.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 91c5760d3e9..02bc86f88b6 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -952,9 +952,9 @@ rust_call_tydesc_glue(void *root, size_t *tydesc, size_t glue_index) { // Don't run on the Rust stack! extern "C" void -rust_log_str(uint32_t level, const char *str, size_t size) { +rust_log_str(uint32_t level, const char *str) { rust_task *task = rust_get_current_task(); - task->sched_loop->get_log().log(task, level, "%.*s", (int)size, str); + task->sched_loop->get_log().log(task, level, "%s", str); } // |
