aws / dcv-color-primitives

DCV Color Primitives Library
MIT No Attribution
30 stars 22 forks source link

build.rs: pass target-feature values directly to the compiler #28

Closed JuSiZeLa closed 4 years ago

JuSiZeLa commented 4 years ago

The target-feature in the .cargo/config file generated by the build.rs script are ignored on the first build.rs since cargo does not reload the config file. They are applied from the second build. Passing those values directly to the compiler is better since they are immediately used, also in the first build.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.