Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ci/azure-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ steps:

# Test what we're about to release in release mode itself. This tests
# everything except lightbeam which requires nightly which happens above.
- bash: cargo test --release --all --exclude lightbeam --exclude wasmtime-wasi-c --exclude wasmtime-py
- bash: |
gcc test.c
./a.out
cargo test --release --all --exclude lightbeam --exclude wasmtime-wasi-c --exclude wasmtime-py
displayName: Cargo test
env:
RUST_BACKTRACE: 1
Expand Down
2 changes: 1 addition & 1 deletion lightbeam
12 changes: 12 additions & 0 deletions test.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>
#include <stdlib.h>

int main() {
volatile float f = strtof("8.8817847263968443574e-16", NULL);
printf("%a\n", f);
volatile double d = strtod("8.8817847263968443574e-16", NULL);
printf("%a\n", d);
volatile float df = d;
printf("%a\n", (float)df);
return 0;
}