summaryrefslogtreecommitdiff
path: root/tests/projects/rust
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/rust')
-rw-r--r--tests/projects/rust/cxx_call_rust_library/xmake.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/rust/cxx_call_rust_library/xmake.lua b/tests/projects/rust/cxx_call_rust_library/xmake.lua
index b8bc7c9a8..00725b02f 100644
--- a/tests/projects/rust/cxx_call_rust_library/xmake.lua
+++ b/tests/projects/rust/cxx_call_rust_library/xmake.lua
@@ -6,8 +6,7 @@ target("foo")
target("test")
set_kind("binary")
+ add_rules("rust.cxxbridge", {override = true})
add_deps("foo")
add_files("src/main.cc")
- add_files("src/bridge.rs", {rules = "rust.cxxbridge"})
-
-
+ add_files("src/bridge.rs")