1 #![feature(plugin)] 2 #![plugin(mod_path)] 3 4 mod_path! foo (concat!(env!("OUT_DIR"), "/hello.rs")); 5 6 #[test] it_works()7 fn it_works() { 8 assert_eq!(foo::ANSWER, 42); 9 } 10