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 on Windows #9

Open
leo60228 opened this issue Jan 22, 2021 · 6 comments
Open

Stack overflow on Windows #9

leo60228 opened this issue Jan 22, 2021 · 6 comments

Comments

@leo60228
Copy link

This is happening in my CI: https://github.com/leo60228/hsmusicifier/runs/1751852366?check_suite_focus=true

I use Linux, so I'm not able to debug this further currently.

@leo60228
Copy link
Author

main in build.rs is using just over the maximum of 2M of stack. I couldn't figure out why this is the case, but adding this to .cargo/config works around the issue:

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "link-arg=/STACK:4194304"]

@AdrianEddy
Copy link
Contributor

See #12

@jwiesler
Copy link

Why is this still not merged? :(

@rib
Copy link

rib commented Feb 28, 2021

I also just got hit by this - it would be great if #12 can be merged

@rib
Copy link

rib commented Feb 28, 2021

Ah, it's looking like maybe the original ffmpeg-sys project that this was forked from might have come back to life, since it looks like there's active development there, including a fix for this issue: meh/rust-ffmpeg-sys#94

@jwiesler
Copy link

Hey, I forked the sys crate and the ffmpeg-next crate and merged most of the current merge requests of both crates. If you have no problem with using a non crates.io crate, you can use this one. I will keep merging pull requests because these repositories seem mostly abandonded.

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

4 participants