you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 18 hours ago (8 children)

Microsoft’s FORGE Lab found several memory safety issues in Rust’s standard library (std and core), including cases where code written entirely in safe Rust can trigger undefined behavior.

  • source
  • hideshow 8 child comments
  • [–] 1 point 18 hours ago* (6 children)

    Bit of a misnomer, since I don't think Rust actually has "defined behavior" in the technical sense...

    or has it actually gotten a formal specification since I last looked?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 17 hours ago (5 children)
  • [–] 1 point 17 hours ago* (4 children)

    Not quite a standard, but fair enough for colloquial usage. A bit funny that they have to explicitly define undefined.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 17 hours ago (3 children)

    Yeah, they don't define what's "defined" behavior due to a lack of a formal standard, but there are some things they specifically want to defend against.

    There does exist a formal standard (and certified toolchain), but it's not official as far as I'm aware.

  • source
  • parent
  • hideshow 3 child comments