The JIT that runs makepad apps from source: lexer, front end, type checker, lazy borrow checker (Gandalf; `--check-first` opts in), codegen, session and warm/cold caches keyed by compiler stamp, provided crates bound late, startup images, live patching. User-facing name is `makepad run` (binary `makepad`, MAKEPAD_RUN_* env, ~/.makepad-run); libs/relax stays the internal library name. `makepad check` reports rustc-style diagnostics with rustc error codes and checks a whole workspace (`--workspace`). Runs on macOS, Linux, Windows and Android. makepad-remote: one tool schema for apps and the WM (app/1): grabs, captures, traces, frame profiles and tweaks. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
17 lines
555 B
Rust
17 lines
555 B
Rust
// T6 overflowing_literals and lint levels; owner: lint ticket. Known failing fixture, deferred by ROUND 35.
|
|
pub const A: u8 = 256;
|
|
pub const B: i8 = -129;
|
|
pub const C: i8 = 0xff;
|
|
pub const D: f32 = 1e100;
|
|
struct U<const N: u8>;
|
|
pub fn const_arg() { let _ = U::<300>; }
|
|
#[allow(overflowing_literals)]
|
|
pub fn denied_again() { #[deny(overflowing_literals)] let _: u8 = 256; }
|
|
|
|
#[test]
|
|
#[ignore = "T6: overflowing_literals and lint levels; lint ticket"]
|
|
fn overflowing_literals_regression() {
|
|
let _ = (A, B, C, D);
|
|
const_arg();
|
|
denied_again();
|
|
}
|