From c6876982657c8bf65b7e2a05fc1206b3aacc0ff8 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 19 May 2017 21:32:52 +0800 Subject: remove rust share library test --- tests/projects/shared_library_rust/xmake.lua | 48 ---------------------------- 1 file changed, 48 deletions(-) delete mode 100755 tests/projects/shared_library_rust/xmake.lua (limited to 'tests/projects/shared_library_rust/xmake.lua') diff --git a/tests/projects/shared_library_rust/xmake.lua b/tests/projects/shared_library_rust/xmake.lua deleted file mode 100755 index 3abd23640..000000000 --- a/tests/projects/shared_library_rust/xmake.lua +++ /dev/null @@ -1,48 +0,0 @@ --- the debug mode -if is_mode("debug") then - - -- enable the debug symbols - set_symbols("debug") - - -- disable optimization - set_optimize("none") -end - --- the release mode -if is_mode("release") then - - -- set the symbols visibility: hidden - set_symbols("hidden") - - -- enable fastest optimization - set_optimize("fastest") - - -- strip all symbols - set_strip("all") -end - --- add target -target("interfaces") - - -- set kind - set_kind("shared") - - -- add files - add_files("src/interfaces.rs") - --- add target -target("test") - - -- set kind - set_kind("binary") - - -- add deps - add_deps("interfaces") - - -- add files - add_files("src/main.rs") - - -- add link directory - add_linkdirs("$(buildir)") - - -- cgit v1.3.1