Search
 
SCRIPT & CODE EXAMPLE
 

C

rust cross compile

// To cross compile, first you need to add a target
rustup target add <Your target here, example: arm-linux-androideabi>
// Then you need to build, passing the target flag
cargo build --target=<Your target here, example: arm-linux-androideabi>

// To see a list of available targets:
rustup target list

//To remove a previously-added target
rustup target remove

// Supported platforms:
https://doc.rust-lang.org/nightly/rustc/platform-support.html
Comment

rust cross compile to windows

cargo build --target x86_64-pc-windows-gnu
Comment

PREVIOUS NEXT
Code Example
C :: multiplication of matrix in c 
C :: declare string in c 
C :: print float in c 
C :: how to take comma separated integer input in c 
C :: calculate median 
C :: c double 
C :: macos prevent disk mounting 
C :: set all pins as output for loop 
C :: empiler une pile on c 
C :: powershell list big files 
C :: c memcpy 
C :: division en java 
C :: c pause for 1 second 
C :: enum case statement in c 
C :: c unused variable 
C :: string in c 
C :: c arrays and pointers 
C :: c convert float to int 
C :: string to number in c 
C :: allocating memory for 1Mb text file in C 
C :: print char* address C 
C :: onvert a string into 2d string in c 
C :: C static libraries (creating object files) 
C :: pointeur de pointeur en language c 
C :: Handling exceptions during datetime conversion 
C :: simpy process return value 
C :: garbage collection and dangling reference 
C :: deepak rake 
C :: Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given its radius and height. 
C :: what to do after gan training 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =