// RLX — versatile ML compiler + runtime.
// Copyright (C) 2026 Eugene Hauptmann, Nataliya Kosmyna.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3.
//! Thread-local [`FusionTarget`] for IO-gated fusion passes during compile.
use Cell;
use crateFusionTarget;
thread_local!
/// Fusion target for the current compile (set by [`CompilePipeline`]).
/// Run `f` with `target` installed for IO-gated passes (single-threaded compile).