We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92dc358 commit 2cb1ceeCopy full SHA for 2cb1cee
.github/workflows/Threading.yml
@@ -24,7 +24,7 @@ jobs:
24
run: |
25
cargo build --features="repl" --release
26
27
- - name: Thread Safe
+ - name: Thread Safe (still unsafe)
28
29
./target/release/3body -c '
30
给 cx 以 程心();
interpreter/src/evaluator/builtins.rs
@@ -369,7 +369,7 @@ fn three_body_threading(_: Vec<Object>) -> Object {
369
Object::Function(params, stmts, env ) => {
370
let mut ev = Evaluator {
371
env: {
372
- let mut scoped_env = Env::new_with_outer(Rc::clone(&env));
+ let mut scoped_env = Env::new_with_outer(Rc::clone(&env)); // still thread unsafe
373
let list = params.iter().zip({
374
match &args[1] {
375
Object::Array(arr) => arr,
0 commit comments