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

nrf-softdevice-gen broken #24

Closed
jacobrosenthal opened this issue Sep 15, 2020 · 2 comments
Closed

nrf-softdevice-gen broken #24

jacobrosenthal opened this issue Sep 15, 2020 · 2 comments

Comments

@jacobrosenthal
Copy link
Contributor

Fallout from #1

moving the .cargo/config up means nrf-softdevice-gen is currently broken unless you pass an override --target or just comment out the target in .cargo/config

Mixing std and no_std in a single workspace is kind of a pain

You probably want to move it outside the other no_std stuff or the entire repo?

@Dirbaio
Copy link
Member

Dirbaio commented Sep 15, 2020

True. That's the reason why .cargo/config was in examples/, but that means you can't build/run examples from the root so it isn't ideal either :(

Not sure what to do.

Relevant issue: rust-lang/cargo#8112

@kuon
Copy link

kuon commented Sep 15, 2020

One thing I often do is to create a Makefile to wrap language specific tools (rake, webpack, iex, cargo...). Then you just run make build, make gen... And you ensure correct environment in the tasks. Of course this is just a suggestion.

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

No branches or pull requests

3 participants