diff options
| author | Haitao Li <lihaitao@gmail.com> | 2011-11-16 22:49:38 -0600 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-16 11:35:13 -0800 |
| commit | 88f29aab27bf56bda4cf7062cb53af0be4b5c251 (patch) | |
| tree | 2699aca1781258a889f68d553935150d665d9e50 /src/rt/rust_task.cpp | |
| parent | 7a9b66db631478b7f42cdbfae52f96d5e7bb0a1f (diff) | |
| download | rust-88f29aab27bf56bda4cf7062cb53af0be4b5c251.tar.gz rust-88f29aab27bf56bda4cf7062cb53af0be4b5c251.zip | |
Use attributes for native module ABI and link name
This patch changes how to specify ABI and link name of a native module.
Before:
native "cdecl" mod llvm = "rustllvm" {...}
After:
#[abi = "cdecl"]
#[link_name = "rustllvm"]
native mod llvm {...}
The old optional syntax for ABI and link name is no longer supported.
Fixes issue #547
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
