Skip to content

Commit

Permalink
update nighly version and remove stabilized features
Browse files Browse the repository at this point in the history
  • Loading branch information
gillett-hernandez committed Jul 9, 2024
1 parent ebc1f61 commit 5186208
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(fs_try_exists)]
extern crate rust_pathtracer as root;

use root::parsing::config::*;
Expand Down Expand Up @@ -161,7 +160,7 @@ fn main() {
let time = Instant::now();

println!("constructing renderer");
if !matches!(fs::try_exists("output"), Ok(true)) {
if !matches!(fs::exists("output"), Ok(true)) {
fs::create_dir("output")
.expect("failed to create output directory. please create it manually");
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(fs_try_exists, portable_simd)]
#![feature(portable_simd)]

#[macro_use]
extern crate smallvec;
Expand Down
2 changes: 1 addition & 1 deletion src/parsing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub fn construct_world<P: AsRef<Path>>(
);
let mut local_material_map = HashMap::new();
assert!(
matches!(std::fs::try_exists(mesh_data.filename.as_str()), Ok(true)),
matches!(std::fs::exists(mesh_data.filename.as_str()), Ok(true)),
"could not find obj file or mtl file {}",
mesh_data.filename.as_str()
);
Expand Down

0 comments on commit 5186208

Please sign in to comment.