From ecc080ed0b4aa8a93e6e9f190c7e2638ff13bbca Mon Sep 17 00:00:00 2001 From: Rafael Ávila de Espíndola Date: Tue, 28 Jun 2011 08:21:13 -0400 Subject: Use "" in the native_name as an indication that no extra options have to be passed to the "linker". Use that for libc. --- src/comp/front/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/front') diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index d153f0273f8..90f8fedb6dc 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1920,7 +1920,7 @@ fn parse_item_native_mod(&parser p, vec[ast::attribute] attrs) -> @ast::item { expect(p, token::EQ); native_name = parse_str(p); } else { - native_name = ""; + native_name = id; } expect(p, token::LBRACE); auto m = parse_native_mod_items(p, native_name, abi); -- cgit 1.4.1-3-g733a5