When combining these two options, in .cargo/config.toml the second rustflags = assignment in https://github.com/esp-rs/esp-idf-template/blob/master/cargo/.cargo/config.toml#L27 overrides the first assignment in line 7, causing it to be ignored. The issue can be fixed by adding the contents of the first assignment as two items to the list of the second assignment.
When combining these two options, in
.cargo/config.toml
the secondrustflags =
assignment in https://github.com/esp-rs/esp-idf-template/blob/master/cargo/.cargo/config.toml#L27 overrides the first assignment in line 7, causing it to be ignored. The issue can be fixed by adding the contents of the first assignment as two items to the list of the second assignment.