diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 19:07:30 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-24 19:07:30 -0400 |
| commit | 395940f7e396fea4507563f34c6e381e9d0c1a77 (patch) | |
| tree | b5fbb760dff924c387797bba9141f06177bf5ecd /src/rt/rust.cpp | |
| parent | de2e84e5b044d8635387bacd37d6088bd8dffd66 (diff) | |
| download | rust-395940f7e396fea4507563f34c6e381e9d0c1a77.tar.gz rust-395940f7e396fea4507563f34c6e381e9d0c1a77.zip | |
Dead code elimination.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index e7db7ed5e34..b5af9eef1b3 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -84,7 +84,7 @@ rust_start(uintptr_t main_fn, rust_crate const *crate, int argc, rust_srv *srv = new rust_srv(); rust_kernel *kernel = new rust_kernel(srv); kernel->start(); - rust_handle<rust_dom> *handle = kernel->create_domain(crate, "main"); + rust_handle<rust_dom> *handle = kernel->create_domain("main"); rust_dom *dom = handle->referent(); command_line_args *args = new (dom) command_line_args(dom, argc, argv); |
