Permalink
Browse files

fix rustpkg stuff

  • Loading branch information...
1 parent 543ad94 commit e8ac9d3a68e71c99f123d4850b116fd3d2d66ba7 @doy committed Apr 2, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 pkg.rs
View
4 pkg.rs
@@ -5,11 +5,9 @@ use core::run::run_program;
// XXX this doesn't work at all, need to figure out what i'm doing wrong
#[pkg_do(build)]
-fn build () {
+fn main () {
let exit = run_program("make", [~"clibs"]);
assert!(exit == 0);
let crate = rustpkg::Crate(~"src/term.rs").flag(~"-Ltmp");
rustpkg::build(~[crate]);
}
-
-fn main () { }

0 comments on commit e8ac9d3

Please sign in to comment.