diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-17 14:22:40 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 10:32:27 -0800 |
| commit | 9ca20059595a654a03fdc55a63aa2cefa3ad9708 (patch) | |
| tree | 61d9699ea432f3f4ecc6b4a163f18061c9ed1be3 /src/rt/rust_builtin.cpp | |
| parent | a9f7cbe2402ad8894294d2c8e6cb5312c35a7715 (diff) | |
| download | rust-9ca20059595a654a03fdc55a63aa2cefa3ad9708.tar.gz rust-9ca20059595a654a03fdc55a63aa2cefa3ad9708.zip | |
rt: Remove size_of and align_of functions. Now written in Rust
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index aed3eda7156..dd5d2bd1054 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -75,16 +75,6 @@ void squareroot(double *input, double *output) { *output = sqrt(*input); } -extern "C" CDECL size_t -size_of(type_desc *t) { - return t->size; -} - -extern "C" CDECL size_t -align_of(type_desc *t) { - return t->align; -} - extern "C" CDECL void leak(void *thing) { // Do nothing. Call this with move-mode in order to say "Don't worry rust, |
