Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Commit 8a66b7f

Browse files
committed
Much better verification
1 parent af0d5f9 commit 8a66b7f

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ pub const MAX_LOGS: usize = 25;
55
pub const MAX_REFS: usize = 10;
66
const ANCHOR: &&() = &&();
77

8-
const FLAG: &str = env!(
9-
"FLAG",
10-
"FLAG environment variable not set -- refusing to start"
11-
);
12-
138
fn cache_ref<'call, 'extended, T: ?Sized>(x: &'call mut T) -> &'extended mut T {
149
fn coerce<'call, 'extended, T: ?Sized>(
1510
_: &'call &'extended (),

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use std::io::{self, BufWriter};
22

33
fn main() -> io::Result<()> {
4+
std::env::var("FLAG").expect("FLAG environment variable not set -- refusing to start");
5+
46
let stdin = io::stdin();
57
let stdout = io::stdout();
68
let mut writer = BufWriter::new(stdout.lock());

0 commit comments

Comments
 (0)