Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compilation support #5

Open
yusdacra opened this issue May 19, 2021 · 6 comments
Open

Cross compilation support #5

yusdacra opened this issue May 19, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@yusdacra
Copy link
Owner

No description provided.

@yusdacra yusdacra added the enhancement New feature or request label May 19, 2021
@bobbbay
Copy link

bobbbay commented Nov 28, 2021

Any update on this? This flake is awesome, but cross-compilation is pretty important for some projects :).

@yusdacra
Copy link
Owner Author

Hey, thanks for the interest. I intend to work on this, but currently I'm working on dream2nix so that I can use it in nix-cargo-integration (#49). dream2nix currently doesn't implement support for cross-compilation, but when it does it would mean that nix-cargo-integration essentially gets it for free.

@a-kenji
Copy link

a-kenji commented Mar 6, 2022

Does dream2nix still doesn't support cross-compilation?

@blm768
Copy link
Contributor

blm768 commented May 7, 2023

I got cross-compilation working on this commit by basically just setting targets in rust-toolchain.toml], but since the migration to flake-parts, it doesn't seem to be quite that simple.

@yusdacra
Copy link
Owner Author

I got cross-compilation working on this commit by basically just setting targets in rust-toolchain.toml], but since the migration to flake-parts, it doesn't seem to be quite that simple.

What exactly is the problem you are having right now? I've an example in the repo that uses targets as well and it seems to be working fine.

@blm768
Copy link
Contributor

blm768 commented May 14, 2023

I was trying to cross-compile for the Raspberry Pi Pico. I must have updated some flake to a bad revision; the current ones let me compile successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants