You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to share that I was able to get mustang programs compiling & running on Nix through crate2nix. It works by leveraging Nix's cross compilation support & the buildRustCrate function to generate a mustang sysroot. It currently requires using this branch for correct parsing of the vendor field.
The sysroot and build support functions can be found here.
And the app build function is here.
For some more details on how it works see my notes. It probably won't make much sense unless you are proficient with crate2nix.
The text was updated successfully, but these errors were encountered:
jordanisaacs
changed the title
Compiling mustang programs on Nix
Compiling mustang programs with Nix
Feb 27, 2023
I just wanted to share that I was able to get mustang programs compiling & running on Nix through crate2nix. It works by leveraging Nix's cross compilation support & the
buildRustCrate
function to generate a mustang sysroot. It currently requires using this branch for correct parsing of the vendor field.The sysroot and build support functions can be found here.
And the app build function is here.
For some more details on how it works see my notes. It probably won't make much sense unless you are proficient with
crate2nix
.The text was updated successfully, but these errors were encountered: