summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-13 13:46:36 +0800
committerruki <[email protected]>2021-11-13 13:46:36 +0800
commit6b684d5cc448124c31a51fff71e4043667677a57 (patch)
tree8ea5f63bf177eaad1e1d00d4f8533ac6dcd61cc3 /tests/projects
parent8907c57014dedbd68da377cb25a92096c0c713d8 (diff)
add frameworks for rust
Diffstat (limited to 'tests/projects')
-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 30d54cc02..cafd349ee 100644
--- a/tests/projects/rust/cxx_call_rust_library/xmake.lua
+++ b/tests/projects/rust/cxx_call_rust_library/xmake.lua
@@ -7,6 +7,7 @@ target("foo")
add_files("src/foo.rs")
set_values("rust.cratetype", "staticlib")
add_packages("cargo::cxx")
+ add_rcflags("--edition=2018")
target("test")
set_kind("binary")