I’m a newcomer to Rust landscape.
I have some issues with building, maybe someone has fought already and is willing to share some insights.
The big picture: I’m trying to build a project based on Pikkr - https://github.com/pikkr/pikkr
It has as dependencies fnv 1.0.6 and x86intrin 0.4.5.
If I try to build using stable, x86intrin won’t compile, ![feature] not allowed in stable.
If I try to build in current nightly, x86intrin won’t compile due to other errors.
If I install the previous nightly ( nightly-2018-11-03-x86_64 ), fnv, x86intrin and pikkr are compiled without error, but when building my project Rust bombs out with this:
error: could not exec the linker `cc`
= note: Not a directory (os error 20)
= note: “cc” “-m64” “-L” ( and a lot of filenames afterwards )
The only reference I was able to find on the net was that re-installing Rust toolchain from scratch made the issue go away, which unfortunately didn’t helped me.
Anyone has any ideas that can help ?
And on a broader view, my current understanding is that a nightly build is something with experimental features, to be used only by those that want to be on the bleeding edge… Why would I publish a library that FORCES me to use only nightly toolchains to compile ? Is there a different approach in Rust ?
I understand that by example I use some feature in 1.32 nightly, but eventually that feature would make it ( or not ) into stable, so maybe I should be able to compile using 1.33 stable … Where is my understanding wrong ?