diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-06-26 16:18:37 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-06-26 16:18:37 -0700 |
| commit | 697f1e38d646bb6c7bab054c8c8c5b469c566ef6 (patch) | |
| tree | 614999c97dd8e6f648f8a3fd41a8de3304baffa9 /src/libsyntax/ext | |
| parent | 999b567e2af0a454bc862bc2e5b1bc16dae78f44 (diff) | |
| download | rust-697f1e38d646bb6c7bab054c8c8c5b469c566ef6.tar.gz rust-697f1e38d646bb6c7bab054c8c8c5b469c566ef6.zip | |
Change 'native' and 'crust' to 'extern'.
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index ca5d7f6bab3..e9c6e6e122c 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -129,7 +129,7 @@ fn expand_item(cx: ext_ctxt, &&it: @ast::item, fld: ast_fold, -> @ast::item { let is_mod = alt it.node { - ast::item_mod(_) | ast::item_native_mod(_) {true} + ast::item_mod(_) | ast::item_foreign_mod(_) {true} _ {false} }; if is_mod { cx.mod_push(it.ident); } |
