Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

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

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants