Skip to content

Commit

Permalink
Rollup merge of #119640 - petrochenkov:rtstartup, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
library: Fix warnings in rtstartup

Not sure why global `deny(warnings)` in bootstrap doesn't apply to this code, it did in the past.
  • Loading branch information
compiler-errors committed Jan 6, 2024
2 parents 61c776a + 0489fd0 commit a98993c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/rtstartup/rsbegin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#![crate_type = "rlib"]
#![no_core]
#![allow(non_camel_case_types)]
#![allow(internal_features)]

#[lang = "sized"]
trait Sized {}
Expand Down
1 change: 1 addition & 0 deletions library/rtstartup/rsend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#![feature(auto_traits)]
#![crate_type = "rlib"]
#![no_core]
#![allow(internal_features)]

#[lang = "sized"]
trait Sized {}
Expand Down

0 comments on commit a98993c

Please sign in to comment.