about summary refs log tree commit diff
path: root/src/librustpkg/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustpkg/context.rs')
-rw-r--r--src/librustpkg/context.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustpkg/context.rs b/src/librustpkg/context.rs
index db036f44a18..348d828bded 100644
--- a/src/librustpkg/context.rs
+++ b/src/librustpkg/context.rs
@@ -13,6 +13,9 @@
 use core::hashmap::HashMap;
 
 pub struct Ctx {
+    // Sysroot -- if this is None, uses rustc filesearch's
+    // idea of the default
+    sysroot_opt: Option<@Path>,
     // I'm not sure what this is for
     json: bool,
     // Cache of hashes of things already installed