Skip to content

Instantly share code, notes, and snippets.

@erickt
Forked from zokier/hello.rc
Created April 19, 2012 14:47
Show Gist options
  • Save erickt/2421433 to your computer and use it in GitHub Desktop.
Save erickt/2421433 to your computer and use it in GitHub Desktop.
rustc --test fails
#[link(
name="rust_hello",
vers="0.1",
author = "zokier",
url="http://github.com/zokier/rust_hello",
uuid="6240d465-7dba-4aa8-9053-027a1b12ecc4"
)];
#[desc = "Hello World"];
#[comment = "Hello World"];
#[license = "Apache License 2.0"];
#[author = "zokier"];
use std;
#[path = "src/hello.rs"]
mod hello;
zokier@minttu ~/rust_hello $ rustc -o build/test/test --test hello.rc
hello.rc:9:2: 9:3 error: expecting mod, found ;
hello.rc:9 )];
^
zokier@minttu ~/rust_hello $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment