summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi-example-geometry/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/uniffi-example-geometry/build.rs')
-rw-r--r--third_party/rust/uniffi-example-geometry/build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/uniffi-example-geometry/build.rs b/third_party/rust/uniffi-example-geometry/build.rs
new file mode 100644
index 0000000000..2dd1c96bc3
--- /dev/null
+++ b/third_party/rust/uniffi-example-geometry/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/geometry.udl").unwrap();
+}