about summary refs log tree commit diff
path: root/src/bootstrap/config.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2017-10-26 16:30:17 -0700
committerJosh Stone <jistone@redhat.com>2017-10-26 17:23:14 -0700
commit19714f55ee70f3130751c8f720b21d869bc82b5d (patch)
tree83d56b1fd7876c566dd0752b08e91819139fd488 /src/bootstrap/config.rs
parent924331cc9b9213112e697833391c8d5fc59ea844 (diff)
downloadrust-19714f55ee70f3130751c8f720b21d869bc82b5d.tar.gz
rust-19714f55ee70f3130751c8f720b21d869bc82b5d.zip
config.toml: Add stubs for recognized-but-unused install paths
... specifically `datadir`, `infodir`, and `localstatedir`.  These were
already accepted by `configure.py`, but it didn't have any place to put
the values.
Diffstat (limited to 'src/bootstrap/config.rs')
-rw-r--r--src/bootstrap/config.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index 66e5efcea4e..33c7141e704 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -207,6 +207,11 @@ struct Install {
     bindir: Option<String>,
     libdir: Option<String>,
     mandir: Option<String>,
+
+    // standard paths, currently unused
+    datadir: Option<String>,
+    infodir: Option<String>,
+    localstatedir: Option<String>,
 }
 
 /// TOML representation of how the LLVM build is configured.