build fixes
This commit is contained in:
11
Cross.toml
11
Cross.toml
@@ -1,5 +1,10 @@
|
||||
# Cross-compilation configuration for the 'cross' tool
|
||||
|
||||
# Build configuration - ensure build scripts run in container
|
||||
[build]
|
||||
# Run build scripts in the cross container to avoid GLIBC mismatches
|
||||
default-target = "x86_64-pc-windows-gnu"
|
||||
|
||||
# Windows GNU target (MinGW) - fully supported
|
||||
[target.x86_64-pc-windows-gnu]
|
||||
# Use edge image with newer GLIBC to avoid build script issues
|
||||
@@ -10,6 +15,12 @@ pre-build = [
|
||||
"dpkg --add-architecture i386",
|
||||
]
|
||||
|
||||
# Build environment configuration
|
||||
[build.env]
|
||||
passthrough = [
|
||||
"CARGO_BUILD_TARGET",
|
||||
]
|
||||
|
||||
# Note: MSVC target is not supported by cross from Linux
|
||||
# MSVC requires proprietary Microsoft tools that only run on Windows
|
||||
# Use the GNU target for Windows cross-compilation from Linux
|
||||
|
||||
Reference in New Issue
Block a user