not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.27k stars 317 forks source link

Implement Clone, Copy and Debug on possible structs and enums #715

Open musjj opened 5 months ago

musjj commented 5 months ago

I was really annoyed with getting blocked by some structs not implementing Clone/Copy/Debug so I tried to implement them in as many places as possible (sorry for the fat diff).

musjj commented 5 months ago

Btw, I'm unable to run the tests on my machine for some reason. Even with a fresh unmodified clone of master, I'm getting errors such as:

test coroutine_execution_order ... ok
double free or corruption (out)
error: test failed, to rerun pass `--test coroutine_pause`

The errors seems to be inconsistent between runs, so I'm guessing that there's a race condition somewhere.

Could you run it on your side if possible?

profan commented 5 months ago

Btw, I'm unable to run the tests on my machine for some reason. Even with a fresh unmodified clone of master, I'm getting errors such as:

test coroutine_execution_order ... ok
double free or corruption (out)
error: test failed, to rerun pass `--test coroutine_pause`

The errors seems to be inconsistent between runs, so I'm guessing that there's a race condition somewhere.

Could you run it on your side if possible?

Random aside here but this specific test seems to be exploding for me as well, likely everyone right now

mandroll commented 4 months ago

Btw, I'm unable to run the tests on my machine for some reason. Even with a fresh unmodified clone of master, I'm getting errors ...

Random aside here but this specific test seems to be exploding for me as well, likely everyone right now

Documented here: #693