You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enum Direction {
North,
East,
South,
West
}
fn main (){
println!("{}", North as int < 2)
//Compiles fine with >, >=, <=, == and !=
//but with < I get
//test.rs:9:31: 9:32 error: expected type, found token LIT_INT_UNSUFFIXED(2i64)
//test.rs:9 println!("{}", North as int < 2)
// ^
}
…, r=lnicola
Build release artifact against older Glibc
When GitHub [deprecated Ubuntu 18.04](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/) runners, rust-analyzer was forced to bump runners to 20.04 which includes an updated Glib. This renders RA incompatible with the still popular Ubuntu 18.04 and other slightly older distro versions.
Until a deprecation plan is announced on RA's side, I propose binaries shall be built against older glibc to maintain compatibility.
This PR changes the Release CI workflow to build the `linux-x64/x86_64-unknown-linux-gnu` release in an Ubuntu 18.04 container.
Fixesrust-lang#13081 and rust-lang#13085
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 11, 2024
A simple example
If I use parenthesis
It compiles.
This is related with issue #11962
The text was updated successfully, but these errors were encountered: