diff --git a/local/recipes/dev/rust-native/recipe.toml b/local/recipes/dev/rust-native/recipe.toml index b35fd900e5..03ed0d1640 100644 --- a/local/recipes/dev/rust-native/recipe.toml +++ b/local/recipes/dev/rust-native/recipe.toml @@ -9,6 +9,13 @@ dependencies = [ "openssl3", "llvm-native", "llvm-native.runtime", + # rustc_llvm compiles llvm-wrapper/*.cpp, which #include + # "llvm/Config/llvm-config.h". Those headers are staged by the .dev + # package, so without it the build fails with + # LLVMWrapper.h:6:10: fatal error: llvm/Config/llvm-config.h: + # No such file or directory + # recipes/dev/rust declares the equivalent llvm21.dev for the same reason. + "llvm-native.dev", ] script = """ DYNAMIC_INIT