Open
Description
Describe the bug
After a rustc version update running ninja
showed this error from rustc:
error[E0514]: found crate `rusticl_opencl_gen` compiled by an incompatible version of rustc
--> ../src/gallium/frontends/rusticl/api/context.rs:10:5
|
10 | use rusticl_opencl_gen::*;
| ^^^^^^^^^^^^^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `rusticl_opencl_gen` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/laughingman/git/rusticl/mesa/target/src/gallium/frontends/rusticl/librusticl_opencl_gen.rlib
To Reproduce
- Clone the
rusticl/wip
branch from https://gitlab.freedesktop.org/karolherbst/mesa/-/tree/rusticl/wip - Enable
-Dgallium-rusticl=true -Dopencl-spirv=true -Dshader-cache=true -Dllvm=true -Drust_std=2021
- Build with
ninja
- Change your rustc version. In my case I updated from 1.62 to 1.63.
- Build with
ninja
again.
Expected behavior
Rebuilds should happen automatically as needed.
system parameters
- Is this a cross build or just a plain native build (for the same computer)?
Native - what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.)
Manjaro Linux - what Python version are you using e.g. 3.8.0
3.10.5 - what
meson --version
0.63.99 (self-compiled version from this PR) - what
ninja --version
if it's a Ninja build
1.11.0
cc @dcbaker
Activity