Skip to content

Commit 2f886d8

Browse files
committed
Make rustc target_triple public
from private.tools.rust.target_triple to core.tools.rustc.target_triple
1 parent 5e3c763 commit 2f886d8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

xmake/modules/package/manager/cargo/install_package.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
-- imports
2222
import("core.base.option")
2323
import("core.project.config")
24+
import("core.tools.rustc.target_triple")
2425
import("lib.detect.find_tool")
2526
import("private.tools.rust.check_target")
26-
import("private.tools.rust.target_triple")
2727

2828
-- translate local path in dependencies
2929
-- @see https://github.com/xmake-io/xmake/issues/4222

xmake/toolchains/rust/xmake.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ toolchain("rust")
2828
set_toolset("rcar", "$(env RC)", "rustc")
2929

3030
on_load(function (toolchain)
31-
import("private.tools.rust.target_triple")
31+
import("core.tools.rustc.target_triple")
3232

3333
local opt = {}
3434
if toolchain:config("appledev") == "simulator" then

0 commit comments

Comments
 (0)