mirror of
				https://github.com/edera-dev/krata.git
				synced 2025-11-04 07:39:39 +00:00 
			
		
		
		
	os: build bootable images
This commit is contained in:
		@ -4,5 +4,10 @@ set -e
 | 
			
		||||
TOOLS_DIR="$(dirname "${0}")"
 | 
			
		||||
RUST_TARGET="$("${TOOLS_DIR}/target.sh")"
 | 
			
		||||
 | 
			
		||||
if [ "${RUST_LIBC}" = "musl" ] && [ -f "/etc/alpine-release" ]
 | 
			
		||||
then
 | 
			
		||||
  export RUSTFLAGS="-Ctarget-feature=-crt-static"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
export CARGO_BUILD_TARGET="${RUST_TARGET}"
 | 
			
		||||
exec cargo "${@}"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user