summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-11 00:59:01 +0800
committerruki <[email protected]>2021-11-11 00:59:01 +0800
commitbd26b472129bc61043a69ffecbddabbd83eb0650 (patch)
tree730e587c5c2bbb65289f593663b0adcc37afd5f5 /tests
parent886c51e8ce29b07adb96d4db0f73e38ce9318990 (diff)
improve target.sourcekinds
Diffstat (limited to 'tests')
-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")