Closed Mastergatto closed 4 months ago
librashader needs nightly which is a problem for package managers that only have stable versions of rustc available on their repositories, so it uses the RUSTC_BOOTSTRAP
hack to enable nightly features on stable.
See the PKGBUILD used on OBS. This really should only be used for packaging purposes where rustup isn't available.
The tar.gz tags are also created automatically via cargo release
, it's an artifact of how theyre tagging the repository at that point in time.
Yeah, with RUSTC_BOOTSTRAP=1 it has worked, thanks. Anyway, on Archlinux rustup is also available, though it needs to be first configured, which makes it still not ideal for the packaging of librashader, thus RUSTC_BOOTSTRAP will be needed though.
I'm trying to build the 0.2.0-rc1 version by launching the command for creating a .so library but it encounters those errors:
Switching to rustup it fixes the aforementioned errors, but I believe it's not an ideal situation, especially for a future packaging on AUR.
Bonus: While we're here, I want to bring attention to the folder in the .tar.gz, in its name "librashader-" is repeated, like this: "/librashader-librashader-v0.2.0-rc.1/" instead of "/librashader-v0.2.0-rc.1/". It's not the first release to do so.