mirror of
https://github.com/ivall/xcl.git
synced 2026-11-24 05:14:57 +01:00
Olympus: fingerprint the loaded DXC toolchain
This commit is contained in:
@@ -179,7 +179,7 @@ fn compile_here(src: &str, entry: &str, profile: &str, extra: &[&str]) -> Result
|
||||
fn toolchain_identity() -> &'static str {
|
||||
static IDENTITY: OnceLock<String> = OnceLock::new();
|
||||
IDENTITY.get_or_init(|| {
|
||||
let Some(dir) = candidates().into_iter().find(|dir| dir.join("dxcompiler.dll").is_file()) else {
|
||||
let Ok(dir) = location() else {
|
||||
return "unavailable".into();
|
||||
};
|
||||
let mut h = 0xcbf2_9ce4_8422_2325u64;
|
||||
|
||||
Reference in New Issue
Block a user