summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi-example-arithmetic/build.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/rust/uniffi-example-arithmetic/build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/uniffi-example-arithmetic/build.rs b/third_party/rust/uniffi-example-arithmetic/build.rs
new file mode 100644
index 0000000000..fcf5fe5b5c
--- /dev/null
+++ b/third_party/rust/uniffi-example-arithmetic/build.rs
@@ -0,0 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+fn main() {
+ uniffi::generate_scaffolding("./src/arithmetic.udl").unwrap();
+}