Building for x86_64 linux?
StelFoog opened this issue · comments
I'm tying to build for x86_64 linux, but the released files are always marked with arm64
. I have added
[target.x86_64-unknown-linux-gnu]
linker = "x86_64-linux-gnu-gcc"
to src-tauri/Cargo.toml
and
with:
# other properties...
args: ${{ matrix.platform == 'ubuntu-20.04' && '--target x86_64-unknown-linux-gnu' || '' }}
to .github/workflows/release.yml
and can see that tauri build --target x86_64-unknown-linux-gnu
is the command run during the build step but still no luck.
What configuration should I add to correctly build targeting x86?
are you sure it's saying arm64 and not amd64? Otherwise i can't imagine why it'd build for arm64, especially since that should fail at some point in the build pipeline.
You're quite right, it says amd!
Terribly sorry for the confusion