summaryrefslogtreecommitdiff
path: root/lang/rust/files/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/files/config.toml')
-rw-r--r--lang/rust/files/config.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/rust/files/config.toml b/lang/rust/files/config.toml
new file mode 100644
index 000000000000..00fb73b7c908
--- /dev/null
+++ b/lang/rust/files/config.toml
@@ -0,0 +1,22 @@
+[build]
+
+# python(1) location.
+python = "%PYTHON_CMD%"
+
+# Do we want to build docs?
+docs = %DOCS%
+
+[install]
+
+# Install location.
+prefix = "%PREFIX%"
+sysconfdir = "%SYSCONFDIR%"
+mandir = "%MANDIR%"
+
+[rust]
+
+# Rust release channel.
+channel = "%CHANNEL%"
+
+[target.%TARGET%]
+llvm-config = "%LLVM_CONFIG%"