From 35f3b6324f1dc1f68539346d6bcda69a555910da Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 17 Apr 2013 18:58:12 -0700 Subject: [PATCH] rustpkg: Remove bogus .rc file --- .../testsuite/pass/fancy-lib/fancy-lib.rc | 24 ------------------- .../testsuite/pass/fancy-lib/fancy-lib.rs | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc diff --git a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc deleted file mode 100644 index 55261a820981..000000000000 --- a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -/* -The test runner should check that, after `rustpkg build fancy-lib`: - * testsuite/fancy-lib/build/ exists - * testsuite/fancy-lib/build/ contains a file called generated.rs - * testsuite/fancy-lib/build/ contains a library named libfancy_lib - * testsuite/fancy-lib/build/ does not contain an executable - * -*/ - -extern mod std; - -pub mod foo; -pub mod bar; -#[path = "build/generated.rs"] pub mod generated; diff --git a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs index 16c384ad8b8c..55261a820981 100644 --- a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs +++ b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs @@ -21,4 +21,4 @@ extern mod std; pub mod foo; pub mod bar; -pub mod generated; +#[path = "build/generated.rs"] pub mod generated;