diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-09-04 04:39:14 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-09-04 10:03:47 +0200 |
| commit | 83e19d2eada77ded543cd6edf5a4b6351a79a0f9 (patch) | |
| tree | 23f7dbc7f393825912a3aed73724f3f37f84a9de /src/librustpkg | |
| parent | 64ff31558480f2bf0dea71a0c3e2880387edb826 (diff) | |
| download | rust-83e19d2eada77ded543cd6edf5a4b6351a79a0f9.tar.gz rust-83e19d2eada77ded543cd6edf5a4b6351a79a0f9.zip | |
Added explicit pub to several conditions. Enables completion of #6009.
Diffstat (limited to 'src/librustpkg')
| -rw-r--r-- | src/librustpkg/conditions.rs | 16 | ||||
| -rw-r--r-- | src/librustpkg/package_source.rs | 1 |
2 files changed, 9 insertions, 8 deletions
diff --git a/src/librustpkg/conditions.rs b/src/librustpkg/conditions.rs index 16ee9c1afb4..4cb103deba7 100644 --- a/src/librustpkg/conditions.rs +++ b/src/librustpkg/conditions.rs @@ -14,33 +14,33 @@ pub use std::path::Path; pub use package_id::PkgId; condition! { - bad_path: (Path, ~str) -> Path; + pub bad_path: (Path, ~str) -> Path; } condition! { - nonexistent_package: (PkgId, ~str) -> Path; + pub nonexistent_package: (PkgId, ~str) -> Path; } condition! { - copy_failed: (Path, Path) -> (); + pub copy_failed: (Path, Path) -> (); } condition! { - missing_pkg_files: (PkgId) -> (); + pub missing_pkg_files: (PkgId) -> (); } condition! { - bad_pkg_id: (Path, ~str) -> PkgId; + pub bad_pkg_id: (Path, ~str) -> PkgId; } condition! { - no_rust_path: (~str) -> Path; + pub no_rust_path: (~str) -> Path; } condition! { - not_a_workspace: (~str) -> Path; + pub not_a_workspace: (~str) -> Path; } condition! { - failed_to_create_temp_dir: (~str) -> Path; + pub failed_to_create_temp_dir: (~str) -> Path; } diff --git a/src/librustpkg/package_source.rs b/src/librustpkg/package_source.rs index ae2083f1b22..8f2d8877cf9 100644 --- a/src/librustpkg/package_source.rs +++ b/src/librustpkg/package_source.rs @@ -34,6 +34,7 @@ pub struct PkgSrc { } condition! { + // #6009: should this be pub or not, when #8215 is fixed? build_err: (~str) -> (); } |
