Skip to content

Commit a9e5cdf

Browse files
committed
dbug gamma
1 parent 91b2486 commit a9e5cdf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
set -euo pipefail
33

4+
rustc gamma.rs && ./gamma
5+
exit 1
6+
47
DEFAULTFLAGS="-Zrandomize-layout -Zmiri-strict-provenance"
58

69
# make sure we keep using the current toolchain even in subdirs that have a toolchain file

gamma.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#![feature(float_gamma)]
2+
3+
fn main() {
4+
dbg!(std::hint::black_box(-0.5f32).gamma());
5+
}

0 commit comments

Comments
 (0)