fix(phase-285): restore weak_basic_llvm + complete LLVM detection/quick SSOT
This commit is contained in:
@ -30,7 +30,7 @@ pub fn parse() -> CliConfig {
|
||||
|
||||
pub fn build_command() -> Command {
|
||||
Command::new("nyash")
|
||||
.version("1.0")
|
||||
.version(if cfg!(feature = "llvm") { "1.0 features:llvm" } else { "1.0" })
|
||||
.author("Claude Code <claude@anthropic.com>")
|
||||
.about("🦀 Nyash Programming Language - Everything is Box in Rust! 🦀")
|
||||
.arg(Arg::new("dev").long("dev").help("Enable development defaults (AST using ON; Operator Boxes observe; safe diagnostics)").action(clap::ArgAction::SetTrue))
|
||||
|
||||
@ -73,3 +73,8 @@ pub fn get(h: u64) -> Option<Arc<dyn NyashBox>> {
|
||||
pub fn snapshot() -> Vec<Arc<dyn NyashBox>> {
|
||||
reg().snapshot()
|
||||
}
|
||||
|
||||
/// Drop a handle from the registry, decrementing its reference count
|
||||
pub fn drop_handle(h: u64) {
|
||||
reg().drop_handle(h)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user