narpfel
narpfel
I’ve also been annoyed by the 2015 default in the past. For reference, the 2018 edition was stabilised in [v1.36](https://doc.rust-lang.org/edition-guide/rust-2018/index.html), the 2021 edition was stabilised in [v1.56](https://doc.rust-lang.org/edition-guide/rust-2021/index.html), so always setting...
I believe the idea is that changing the default edition is considered a breaking change, which violates Rust’s stability guarantee. Relevant comment in the original editions RFC: https://github.com/rust-lang/rfcs/pull/2052#issuecomment-312747178
It is actually undecidable to solve this problem, as described in [this blog post](https://blog.reverberate.org/2013/08/parsing-c-is-literally-undecidable.html). Not only would the parser have to keep track of existing (local and global) variables, but...
I believe this is fixed? https://github.com/tree-sitter/tree-sitter-rust/commit/9d002eea75fe0c9dd2b3f1fa8b1d3c7f357ec2f8#diff-919ac210accac9ecc55a76d10a7590e3d85ca3f0e165b52d30f08faee486d0cbL1435-R1435
The Haskell scanner uses [`restrict`](https://github.com/tree-sitter/tree-sitter-haskell/blob/d6ccd2d9c40bdec29fee0027ef04fe5ff1ae4ceb/src/scanner.c#L211), which MSVC [only supports in C11 or C17 mode](https://docs.microsoft.com/en-us/cpp/c-language/type-qualifiers?view=msvc-170#restrict) (and not the weird C89+extensions that is the default), but `py-tree-sitter` compiles `.c` files without flags...
This feature was only merged 6 days ago in #55 / 55abe1c2702d038d4851422a293feb5b1f08ccdb, and there has not been a PyPI release since then. You can try installing from git with `pip...
> Maybe godbolt could detect if `--edition` is passed and in such case it would not pass the default `2021` value? That’s what I proposed in https://github.com/compiler-explorer/compiler-explorer/issues/3765#issuecomment-1152994111. It seems this...
This isn’t actually fixed; the test added in #2072 behaves differently on `gccrs` than on `rustc`: [Godbolt link](https://godbolt.org/z/qorn7a811) (Expected output is `A` because `A` is a pattern that matches anything.)...
I recently played around with souper a bit, and I think having it on CE would be useful. `sclang` and `sclang++` are clang wrappers that additionally run souper’s superoptimiser pass...
Thanks for the quick reply! > or accept the system perl (if we have it...I'll have to check) is fine. The system perl should be okay, the wrapper doesn’t do...