summaryrefslogtreecommitdiff
path: root/tests/projects/rust
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-11 22:37:39 +0800
committerruki <[email protected]>2021-11-11 22:37:39 +0800
commit147f4005fe0c549244ebddb660964585c5414652 (patch)
tree91606d57df0d2abcbe2d10e0f0089f8b64549902 /tests/projects/rust
parentcf9d3bacd0b0d47946e517dae67800fa7b8f3e1e (diff)
add rust.cxxbridge rules
Diffstat (limited to 'tests/projects/rust')
-rw-r--r--tests/projects/rust/cxx_call_rust_library/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/projects/rust/cxx_call_rust_library/xmake.lua b/tests/projects/rust/cxx_call_rust_library/xmake.lua
index cfd0e035e..fb3a48171 100644
--- a/tests/projects/rust/cxx_call_rust_library/xmake.lua
+++ b/tests/projects/rust/cxx_call_rust_library/xmake.lua
@@ -3,6 +3,7 @@ add_rules("mode.debug", "mode.release")
target("foo")
set_kind("static")
add_files("src/foo.rs")
+ set_values("rust.cratetype", "staticlib")
target("test")
set_kind("binary")