Skip to content

f32 "%" is broken on MSVC #27859

Closed
Closed
@eefriedman

Description

@eefriedman
fn main() {
  println!("{}", 1.5f32 % std::env::args().len() as f32);
}

This code doesn't link on MSVC targets. (Sorry if I messed up the testcase; I don't have a Rust install on Windows to test with.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions