-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustc --crate-type=dylib -o name
produces name.exe
on windows
#13794
Comments
I've heard of the mingw |
P-low, not 1.0. |
Not sure this is wrong, actually. This is clearly a compatibility feature for the benefit of Unix-y shell scripts. On Unix executable files are designated by a permissions bit, but on Windows - by extension. If Windows |
This doesn't appear to happen today; at least, not with the MSVC toolchain, which is the recommended one. With no comments since 2015, including one that says this may not be a bug, I'm going to give this a close. If this is in error, please let me know! |
…r-bump, r=jonas-schievink fix: fix "parser seems stuck" panic when parsing colossal files The parser step count is incremented every time the parser inspects a token. It's purpose is to ensure the parser doesn't get stuck in infinite loops. But since `self.pos` grows monotonically when parsing source code, it gives a better idea for whether the parser is stuck or not: if `self.pos` is changed, we know that the parser cannot be stuck, so it is safe to reset the step count to 0. This makes the limit check scale with the size of the file, and so should fix rust-lang/rust-analyzer#13788.
The existing known problem is not actually true, and the many false positives and false negatives should be mentioned. Allowing the lint on a single statement: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=328de43690af13ed126f7c00c15cd695 changelog: [`default_numeric_fallback`]: update known problems docs
It produces
empty
if crate type is rlib or staticlib.The text was updated successfully, but these errors were encountered: