diff options
| author | Graydon Hoare <[email protected]> | 2011-03-29 13:21:16 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-29 13:23:51 -0700 |
| commit | 734abe593dc09edaea0f24978acf4f4270337361 (patch) | |
| tree | eaac6bb58a955617ec1ac47e031002a97931ac40 /src/comp/rustc.rc | |
| parent | XFAIL nbody on darwin, quiet tinderbox for now. (diff) | |
| download | rust-734abe593dc09edaea0f24978acf4f4270337361.tar.xz rust-734abe593dc09edaea0f24978acf4f4270337361.zip | |
Teach trans to emit undefined references to 'use'd symbols. Can compile and run a simple 'use std;' example now.
Diffstat (limited to 'src/comp/rustc.rc')
| -rw-r--r-- | src/comp/rustc.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index 174fdcfa..1ae9be79 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -45,6 +45,7 @@ auth driver.rustc.main = impure; auth front.creader.load_crate = unsafe; auth front.creader.lookup_def = impure; auth front.creader.get_type = impure; +auth front.creader.get_symbol = impure; auth front.creader.impure_no_op = impure; auth middle.metadata = unsafe; auth middle.trans = unsafe; |