summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorzy <[email protected]>2023-09-08 03:48:44 +0000
committerzy <[email protected]>2023-09-08 03:48:44 +0000
commit7865085c4477c0233cf07519af2b217365567a66 (patch)
tree9f0b916166b1fe19c1b5e5526bd5017d6683b8a0 /build.rs
ffi hello worldHEADmasterhello-world
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..705dedd
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,3 @@
+fn main() {
+ cc::Build::new().file("sample.c").compile("sample");
+} \ No newline at end of file