diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-08-25 15:09:33 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-08-25 15:09:33 -0700 |
| commit | 8ef455190494d2fd9a6bb013efd2e59622af2bc4 (patch) | |
| tree | 79b59597ad931e5be3d5440f50c8942a53e3e495 /src/libsyntax/ast.rs | |
| parent | bb5c07922f20559af1e40d63a15b1be0402e5fe4 (diff) | |
| download | rust-8ef455190494d2fd9a6bb013efd2e59622af2bc4.tar.gz rust-8ef455190494d2fd9a6bb013efd2e59622af2bc4.zip | |
rustc: Implement foreign constants.
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 2bd08d2b282..fbd155e0729 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -830,6 +830,7 @@ type foreign_item = #[auto_serialize] enum foreign_item_ { foreign_item_fn(fn_decl, purity, ~[ty_param]), + foreign_item_const(@ty) } // The data we save and restore about an inlined item or method. This is not |
