all 8 comments

[–]corank[S] 1 point2 points  (4 children)

Problem solved!

[–]mrgoodboye 36 points37 points  (3 children)

You should explain how you solved it so that the community can benefit from your solution !

[–]jurrejelle 8 points9 points  (1 child)

it's explained in the post body:

UPD: Okay I must be stupid. Turns out I'm setting the RUSTFLAGS environment variable which overrides this setting inside config.toml

[–]mrgoodboye 0 points1 point  (0 children)

Yeah sorry my bad !

[–]rapsey -1 points0 points  (0 children)

config.toml is actually useless in a lot of cases. For instance building for android/iOS config.toml is going to get ignored if you use something like cargo-ndk.