From 58ec46f7704efb5128e6599485e894c457fd4022 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 20 Aug 2019 21:58:44 -0700 Subject: [PATCH] testing --- ci/azure-build-release.yml | 5 ++++- lightbeam | 2 +- test.c | 12 ++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 test.c diff --git a/ci/azure-build-release.yml b/ci/azure-build-release.yml index f76e02436bc5..f2f74f7ea410 100644 --- a/ci/azure-build-release.yml +++ b/ci/azure-build-release.yml @@ -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 diff --git a/lightbeam b/lightbeam index 762cd3fb323a..e6a8f1931549 160000 --- a/lightbeam +++ b/lightbeam @@ -1 +1 @@ -Subproject commit 762cd3fb323a4755daa29c0282ee08f5e560a35b +Subproject commit e6a8f19315493f4df57b82f6576623200706abdd diff --git a/test.c b/test.c new file mode 100644 index 000000000000..9bad47574f95 --- /dev/null +++ b/test.c @@ -0,0 +1,12 @@ +#include +#include + +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; +}