From 734abe593dc09edaea0f24978acf4f4270337361 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 29 Mar 2011 13:21:16 -0700 Subject: Teach trans to emit undefined references to 'use'd symbols. Can compile and run a simple 'use std;' example now. --- src/comp/rustc.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/rustc.rc') 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; -- cgit v1.2.3