about summary refs log tree commit diff
path: root/src/librustpkg/util.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-04-24 17:37:59 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-04-24 17:51:31 -0700
commit4e2c8f422aec1aef910fdfdac57f5f66a7465355 (patch)
treefb63b27dcf1fe7ce2bc366e7ed70d57ff0414535 /src/librustpkg/util.rs
parentf945e57bd050227bbf92f151303785991173f2fe (diff)
downloadrust-4e2c8f422aec1aef910fdfdac57f5f66a7465355.tar.gz
rust-4e2c8f422aec1aef910fdfdac57f5f66a7465355.zip
rustpkg: Preliminary work on install command
Mostly just tests (that are ignored); install command is still
stubbed out.
Diffstat (limited to 'src/librustpkg/util.rs')
-rw-r--r--src/librustpkg/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustpkg/util.rs b/src/librustpkg/util.rs
index 36d409adcd2..28198e59f86 100644
--- a/src/librustpkg/util.rs
+++ b/src/librustpkg/util.rs
@@ -78,7 +78,7 @@ impl ToStr for Version {
 }
 
 /// Placeholder
-fn default_version() -> Version { ExactRevision(0.1) }
+pub fn default_version() -> Version { ExactRevision(0.1) }
 
 // Path-fragment identifier of a package such as
 // 'github.com/graydon/test'; path must be a relative