From fe55343def2511948cd60f948e92e8422d362ede Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 2 Jan 2024 20:09:08 -0700 Subject: [PATCH] move to stable Rust --- Cargo.toml | 2 +- src/g.rs | 4 ++-- src/lib.rs | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7c3d56559..7125b2890 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lambda_mountain" -version = "0.1.11" +version = "0.1.12" authors = ["Andrew "] license = "MIT" description = "Lambda Mountain" diff --git a/src/g.rs b/src/g.rs index 8bfdbfc6c..c33035984 100644 --- a/src/g.rs +++ b/src/g.rs @@ -46,8 +46,8 @@ fn assemble(cfg: &str, program: &S) { let mut file = File::create(cfg).expect("Could not create file in Term::compile"); file.write_all(code.as_bytes()).expect("Could not write to file in Term::compile"); } else { - let tmp_o = format!("tmp.{}.{}.o",std::process::id(), std::thread::current().id().as_u64() ); - let tmp_s = format!("tmp.{}.{}.s",std::process::id(), std::thread::current().id().as_u64() ); + let tmp_o = format!("tmp.o"); + let tmp_s = format!("tmp.s"); let mut file = File::create(&tmp_s).expect("Could not create file in Term::compile"); file.write_all(code.as_bytes()).expect("Could not write to file in Term::compile"); diff --git a/src/lib.rs b/src/lib.rs index 551f70a87..8c271d462 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,8 +9,6 @@ the code and IP as they would like. Please, just be nice. */ -#![feature(thread_id_value)] - pub mod s; pub use crate::s::*; //S-Expression Library pub mod a; pub use crate::a::*; //S-Expression based AST helper functions pub mod p; pub use crate::p::*; //Quickly parse input into AST