Skip to content

Instantly share code, notes, and snippets.

@zokier
Created April 19, 2012 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zokier/2421343 to your computer and use it in GitHub Desktop.
Save zokier/2421343 to your computer and use it in GitHub Desktop.
rustc --test fails
use std;
#[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"];
#[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