Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack overflow #162

Closed
SzotsGabor opened this issue Mar 26, 2024 · 5 comments
Closed

Stack overflow #162

SzotsGabor opened this issue Mar 26, 2024 · 5 comments

Comments

@SzotsGabor
Copy link

Hi Sam,

Upon running your engine this is what I get: thread 'main' has overflowed its stack

This happens with all of the Windows exes you provide, also with my own compile.

And during compilation (the second time) this is what I get:

warning: & without an explicit lifetime name cannot be used here
--> chess\src\square.rs:72:23
|
72 | pub const NAMES: [&str; Self::COUNT] = [
| ^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 rust-lang/rust#115010
= note: #[warn(elided_lifetimes_in_associated_constant)] on by default
help: use the 'static lifetime
|
72 | pub const NAMES: [&'static str; Self::COUNT] = [
| +++++++

warning: chess (lib) generated 1 warning (run cargo fix --lib -p chess to apply 1 suggestion)
Finished release [optimized] target(s) in 0.03s

Gabor Szots
CCRL testing group

@sroelants
Copy link
Owner

Ah, that's annoying! I will try and see what I can do. I don't have access to a Windows machine, though, so it might be hard to debug!

@SzotsGabor
Copy link
Author

Whatever causes it was not present in v1.3.1 (just downloaded it and tried).

@sroelants
Copy link
Owner

Heads up that the issue was fixed in bf277a8. Will try and push out a new release soon!

@sroelants
Copy link
Owner

Latest release (https://github.com/sroelants/simbelmyne/releases/tag/v1.5.0) should work just fine again on windows!

@SzotsGabor
Copy link
Author

Gauntlet for the CCRL blitz list started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants