Open arthuro555 opened 2 months ago
Interesting, this is how it's put into the Dockerfile
and I think the problem is a combination of how it's expanded in quotemarks and https://github.com/cross-rs/cross/blob/d8631fe4f4e8bb4c4b24417a35544857fb42ee22/src/docker/shared.rs#L180
will have to investigate
Checklist
Describe your issue
Using a multi-line string in
Cross.toml
'spre-build
field causes$CROSS_DEB_ARCH
to not be properly replaced with the current architecture.What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
Here are two failing configurations:
Here is an equivalent, working configuration using a simple string:
Expected behavior:
Current behavior:
Additional information / notes
No response