summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-08 00:37:44 +0800
committerruki <[email protected]>2022-10-08 00:37:44 +0800
commitd848aa52eaca3e4dea1df3ade79bec2490d0b82f (patch)
tree601c7d2cf8d31f3d3298e3067a9ad4a755b0bfd0 /tests
parentf210bb148f933253f5dc1338d08382a19df6b245 (diff)
support export symbols for dmd
Diffstat (limited to 'tests')
-rw-r--r--tests/projects/dlang/shared_library/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/projects/dlang/shared_library/xmake.lua b/tests/projects/dlang/shared_library/xmake.lua
index 9535bf1d3..6fd4a6c8f 100644
--- a/tests/projects/dlang/shared_library/xmake.lua
+++ b/tests/projects/dlang/shared_library/xmake.lua
@@ -4,6 +4,9 @@ target("interfaces")
set_kind("shared")
add_files("src/interfaces.d")
add_includedirs("src", {public = true})
+ add_rules("utils.symbols.export_list", {symbols = {
+ "add",
+ "sub"}})
target("test")
set_kind("binary")