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

Using env var in .cargo/config.toml #126

Closed
Real-YuZhe opened this issue Nov 18, 2023 · 2 comments
Closed

Using env var in .cargo/config.toml #126

Real-YuZhe opened this issue Nov 18, 2023 · 2 comments

Comments

@Real-YuZhe
Copy link

Hi, any way I can use env var in config.toml?

linker = "/home/ci/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc"

and I have export CROSS_CIMPILE=/home/ci/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-

I tryied linker = "${CROSS_COMPILE}gcc" but didn't work? Any adea about how to fix it?

@Real-YuZhe
Copy link
Author

@ teo swee ann
Any one knows?

@bjoernQ
Copy link
Contributor

bjoernQ commented Nov 27, 2023

I don't think it's currently supported by Cargo: rust-lang/cargo#10789

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

No branches or pull requests

2 participants