From 34b11516ca62ddccfc53cf4e160ab2bfd20c172b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?charlotte=20=F0=9F=8C=B8?= Date: Mon, 22 Sep 2025 17:08:44 -0700 Subject: [PATCH 1/2] Disable color. --- src/compose/error.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/compose/error.rs b/src/compose/error.rs index 185f41a..0640845 100644 --- a/src/compose/error.rs +++ b/src/compose/error.rs @@ -306,9 +306,6 @@ fn supports_color() -> bool { // termcolor doesn't expose this logic when using custom buffers #[cfg(not(any(test, target_arch = "wasm32")))] fn supports_color() -> bool { - match std::env::var_os("TERM") { - None if cfg!(unix) => false, - Some(term) if term == "dumb" => false, - _ => std::env::var_os("NO_COLOR").is_none(), - } + // TODO: https://github.com/tokio-rs/tracing/issues/3378 + false } From 778794cf2ae7fc80ba7e3644469b33961f332bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?charlotte=20=F0=9F=8C=B8?= Date: Mon, 22 Sep 2025 19:46:27 -0700 Subject: [PATCH 2/2] Bump version. --- Cargo.toml | 2 +- atomics.txt | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 atomics.txt diff --git a/Cargo.toml b/Cargo.toml index e13fdcf..5f908b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "naga_oil" -version = "0.19.0" +version = "0.19.1" edition = "2021" license = "MIT OR Apache-2.0" description = "a crate for combining and manipulating shaders using naga IR" diff --git a/atomics.txt b/atomics.txt new file mode 100644 index 0000000..23a94ad --- /dev/null +++ b/atomics.txt @@ -0,0 +1,38 @@ +var atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX: atomic; + +fn entry_pointX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX() -> f32 { + var y: u32; + + atomicStore((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 1u); + let _e3: u32 = atomicLoad((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX)); + y = _e3; + let _e7: u32 = atomicAdd((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 2u); + let _e8: u32 = y; + y = (_e8 + _e7); + let _e12: u32 = atomicSub((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 1u); + let _e13: u32 = y; + y = (_e13 + _e12); + let _e17: u32 = atomicMax((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 5u); + let _e18: u32 = y; + y = (_e18 + _e17); + let _e22: u32 = atomicMin((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 4u); + let _e23: u32 = y; + y = (_e23 + _e22); + let _e25: u32 = y; + let _e27: u32 = atomicExchange((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), _e25); + let _e28: u32 = y; + y = (_e28 + _e27); + let _e33: _atomic_compare_exchange_resultUint4_ = atomicCompareExchangeWeak((&atomX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX), 12u, 0u); + if _e33.exchanged { + let _e36: u32 = y; + y = (_e36 + _e33.old_value); + } + let _e38: u32 = y; + return f32(_e38); +} + +fn main() -> f32 { + let _e0: f32 = entry_pointX_naga_oil_mod_XORSXG5C7NVXWI5LMMUX(); + return _e0; +} +