Skip to content

Commit dc7924e

Browse files
committed
Revert "More cross compiling fun!"
This reverts commit 1ebeb81.
1 parent b5b18ff commit dc7924e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
build-windows:
1111
environment: UnityTranslate Build
12-
runs-on: ubuntu-latest
12+
runs-on: windows-latest
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions-rust-lang/setup-rust-toolchain@v1
2222
with:
2323
rustflags: ''
24-
target: 'x86_64-pc-windows-msvc'
24+
target: 'x86_64-unknown-linux-gnu'
2525
# Taken from https://github.com/CaffeineMC/sodium-fabric/blob/1.19.3/dev/.github/workflows/gradle.yml
2626
- name: Cache/Uncache
2727
uses: actions/cache@v4

native/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ tasks {
163163
doFirst {
164164
for (target in RUST_TARGETS) {
165165
execOperations.exec {
166-
commandLine(if (target.isHost()) "cargo" else "cross")
166+
commandLine("cargo")
167167

168168
val args = mutableListOf(
169169
"build", "--release",

0 commit comments

Comments
 (0)