summaryrefslogtreecommitdiff
path: root/build_extra/rust/empty_crate.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-10-25 20:04:23 +0200
committerBert Belder <bertbelder@gmail.com>2018-10-25 22:48:08 +0200
commit00e4f7cf835cda09464d67fc1e1b966fc2214823 (patch)
treed0923652f2ffaac4ddffb6f7eee874734890ef7b /build_extra/rust/empty_crate.rs
parent243a3ba2d0ea3cfa6aa1aa126a7eecf39dd76596 (diff)
build: fix compatibility with rustc 1.30.0
Additionally: * Rebuild rust crates when the rustc version changes. * Fetch all rust ldflags in one exec_script() call instead of two.
Diffstat (limited to 'build_extra/rust/empty_crate.rs')
-rw-r--r--build_extra/rust/empty_crate.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_extra/rust/empty_crate.rs b/build_extra/rust/empty_crate.rs
new file mode 100644
index 000000000..f328e4d9d
--- /dev/null
+++ b/build_extra/rust/empty_crate.rs
@@ -0,0 +1 @@
+fn main() {}