[package]
name = "memory"
version = "0.1.0"
edition = "2024"
[dependencies]
piston_window = "0.132.0"
piston2d-graphics = "0.44.0"
rand = "0.8"
use piston_window::*;
...
let (width, height) = (1280.0, 960.0);
let mut window: PistonWindow = WindowSettings::new(
"particles", [width, height]
)
.exit_on_esc(true)
.build()
.expect("Could not create a window.");
thread 'main' has overflowed its stack
fatal runtime error: stack overflow, aborting
Abort trap: 6
MacOS 14.4.1
M1
[package] name = "memory" version = "0.1.0" edition = "2024"[dependencies]
piston_window = "0.132.0"
piston2d-graphics = "0.44.0"
rand = "0.8"
use piston_window::*; ... let (width, height) = (1280.0, 960.0); let mut window: PistonWindow = WindowSettings::new( "particles", [width, height] ) .exit_on_esc(true) .build() .expect("Could not create a window.");thread 'main' has overflowed its stack fatal runtime error: stack overflow, aborting Abort trap: 6MacOS 14.4.1
M1