Skip to content

Commit

Permalink
move to stable Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-johnson-4 committed Jan 3, 2024
1 parent 2b0bdd7 commit fe55343
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lambda_mountain"
version = "0.1.11"
version = "0.1.12"
authors = ["Andrew <andrew@subarctic.org>"]
license = "MIT"
description = "Lambda Mountain"
Expand Down
4 changes: 2 additions & 2 deletions src/g.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe55343

Please sign in to comment.