Skip to content

Commit dec8d57

Browse files
committed
---
yaml --- r: 56194 b: refs/heads/auto c: a2761ac h: refs/heads/master v: v3
1 parent cd4e650 commit dec8d57

File tree

2 files changed

+7
-1
lines changed
  • branches/auto/src/librustpkg/testsuite/pass/fancy-lib

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 35f3b6324f1dc1f68539346d6bcda69a555910da
17+
refs/heads/auto: a2761ac7b528eeeba375e0b0be0140fc1e5c50b3
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/librustpkg/testsuite/pass/fancy-lib/pkg.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use core::run;
12+
1113
pub fn main() {
1214
let cwd = os::getcwd();
1315
debug!("cwd = %s", cwd.to_str());
1416
let file = io::file_writer(&Path(~"fancy-lib/build/generated.rs"),
1517
[io::Create]).get();
1618
file.write_str("pub fn wheeeee() { for [1, 2, 3].each() |_| { assert!(true); } }");
19+
20+
// now compile the crate itself
21+
run::run_program("rustc", ~[~"fancy-lib/fancy-lib.rs", ~"--lib",
22+
~"-o", ~"fancy-lib/build/fancy_lib"]);
1723
}

0 commit comments

Comments
 (0)