Pat Hickey
bae1a5693d
10ms here, and let it timeout in addition to ready?
2021-05-07 16:20:12 -07:00
Pat Hickey
74e9b385df
lets try 10ms, macos ci timed out with 5ms
2021-05-07 16:07:15 -07:00
Pat Hickey
548b6c5311
windows fixes
2021-05-07 15:51:33 -07:00
Pat Hickey
86bd56f6d1
turn off fail-fast again
2021-05-07 15:42:03 -07:00
Pat Hickey
b450094dad
debug
2021-05-07 15:19:17 -07:00
Pat Hickey
68fdadde26
tokio poll_oneoff test: CI needs more than 1ms to complete it
2021-05-07 15:19:02 -07:00
Pat Hickey
ee8a8a2a90
poll_oneoff_stdio test: loosen up contract
...
permit both readable events to be delivered in very short interval,
rather than simultaneously.
2021-05-07 14:27:23 -07:00
Pat Hickey
9b09272936
poll_oneoff: bound tests for time, rather than instant completion
2021-05-07 12:19:51 -07:00
Pat Hickey
b7593cb8fe
Merge remote-tracking branch 'origin/main' into pch/wiggle_sync_shimming
2021-05-06 17:54:03 -07:00
Pat Hickey
002b0744eb
Merge pull request #2881 from bytecodealliance/pch/cargo_deny_ignore_RUSTSEC-2021-0064
...
cargo deny: ignore RUSTSEC-2021-0064
2021-05-06 17:43:10 -07:00
Pat Hickey
9d6f64b33d
cargo deny: ignore RUSTSEC-2021-0064
...
Transient dependencies depend on two different versions of `cpuid-bool`.
This advisory does not appear to be urgent. We should review this ignore
after a few weeks to see if our deps have switched over.
text of the advisory:
Issued
May 6, 2021
Package
cpuid-bool (crates.io)
Type
Unmaintained
Details
https://github.com/RustCrypto/utils/pull/381
Patched
no patched versions
Description
Please use the `cpufeatures`` crate going forward:
https://github.com/RustCrypto/utils/tree/master/cpufeatures
There will be no further releases of cpuid-bool.
2021-05-06 17:08:05 -07:00
Pat Hickey
e9f410d1db
run_in_dummy_executor isnt unsafe, its just a bad idea
2021-05-06 16:25:12 -07:00
Pat Hickey
35a9d4e3c9
less general mechanism for examples cargo feature
2021-05-06 16:23:33 -07:00
Pat Hickey
b19d86268c
fix test harness stdio
2021-05-06 16:19:33 -07:00
Pat Hickey
add115ba00
fix
2021-05-06 15:53:23 -07:00
Pat Hickey
ff8bdc390b
reuse cap-std-syncs windows scheduler without copypaste
2021-05-06 15:45:54 -07:00
Pat Hickey
3d9b98f1df
fix example
2021-05-06 14:34:30 -07:00
Pat Hickey
b0335d3ddf
fixes to example
2021-05-06 14:27:28 -07:00
Pat Hickey
e50f1b24a9
better name and comment
2021-05-06 11:24:48 -07:00
Pat Hickey
76be1959c4
explain!
2021-05-06 11:20:38 -07:00
Pat Hickey
f3ffd74566
dont depend on wiggle for just the one func
2021-05-06 11:19:25 -07:00
Pat Hickey
208013e34e
de-duplicate code
2021-05-06 11:12:53 -07:00
Pat Hickey
f4d851126d
tests dont need fuel
2021-05-06 10:53:25 -07:00
Pat Hickey
2a0eb391c2
get rid of debugging changes to ci
2021-05-05 17:02:46 -07:00
Pat Hickey
148afd3949
fix yaml syntax
2021-05-05 14:57:33 -07:00
Pat Hickey
6616c1eaf1
fix warnings
2021-05-05 13:32:05 -07:00
Pat Hickey
9e04c5333c
poll oneoff tests: what if we read a non-empty file?
2021-05-05 13:08:33 -07:00
Pat Hickey
909d691b55
run wasi-tokio test early, turn off fail-fast so we see all platforms
2021-05-05 12:01:04 -07:00
Pat Hickey
3e8ea090c6
ci debugging
2021-05-05 11:24:27 -07:00
Pat Hickey
f8d1e57428
publish wasi-tokio
2021-05-05 11:17:30 -07:00
Pat Hickey
0faf3b248e
wasmtime-wasi: keep exporting sync at the top level
2021-05-05 11:00:59 -07:00
Pat Hickey
e0f3423161
support windows
2021-05-04 14:28:45 -07:00
Pat Hickey
f76fe8b764
rewrite wasi-tokio as just an task::block_in_place wrapper on cap-std-sync
2021-05-04 14:15:50 -07:00
Chris Fallin
6a1a169c62
Merge pull request #2865 from eggyal/expose_get_got_address
...
Expose new `JITModule::read_got_entry` function
2021-05-04 11:30:52 -07:00
Pat Hickey
686d8c22f9
fix test harness
2021-05-04 11:18:20 -07:00
Pat Hickey
fe76c59159
Merge pull request #2730 from bjorn3/less_thiserror
...
Remove some dependencies
2021-05-04 09:28:34 -07:00
Ryan Brewster
2145855954
Add example of execution limits using fuel consumption ( #2869 )
...
* Add example of execution limits using fuel consumption
* run rustfmt
* Use a more naive WAT implementation
* Catch error and return cleanly
* Add a C example to demonstrate fuel consumption
* Add error handling for add_fuel
2021-05-04 10:39:01 -05:00
bjorn3
82f3ad4f1a
Add comment why thiserror is not used
2021-05-04 13:51:28 +02:00
bjorn3
84c79982e7
Remove unnecessary dependencies
...
Found using cargo-udeps
2021-05-04 13:51:26 +02:00
bjorn3
03fdbadfb4
Remove thiserror dependency from cranelift_codegen
2021-05-04 13:45:20 +02:00
bjorn3
147cda3b99
Remove thiserror dependency from cranelift_module
2021-05-04 13:42:48 +02:00
Pat Hickey
5ab8346a05
fix windows sync scheduler
2021-05-03 12:23:24 -07:00
Pat Hickey
3df9cddf10
better unit test
2021-05-03 11:59:30 -07:00
Benjamin Bouvier
8811246a9f
debug: Avoid underflow when scanning for landing pad bytes ( #2866 )
2021-05-03 11:58:40 -05:00
Ulrich Weigand
dfb1bc4d02
Trap handler changes to support s390x ( #2871 )
...
On s390x, SIGILL and SIGFPE are delivered with the PSW address
pointing *after* the faulting instruction, while SIGSEGV and
SIGBUS are delivered with the PSW address pointing *to* the
faulting instruction. In order to support this, the common
code trap handler has to distinguish between those cases.
Also, enable SIGFPE on s390x (just like on x86).
2021-05-03 11:56:18 -05:00
Ulrich Weigand
e1cc1a67d5
Object file support for s390x ( #2872 )
...
Add support for s390x binary format object files. In particular,
add support for s390x ELF relocation types (currently only
S390xPCRel32Dbl).
2021-05-03 11:50:00 -05:00
Ulrich Weigand
7a3791f9e9
Fiber support for s390x ( #2870 )
...
Add fiber support for the s390x architecture.
2021-05-03 11:01:10 -05:00
Pat Hickey
62c4f0d1f7
wasi-tokio kinda sorta working
2021-05-01 15:39:09 -07:00
Pat Hickey
7f34ccb909
various fixes to the design of Poll
2021-04-30 15:38:18 -07:00
Pat Hickey
b7efcbe80f
jump through enough hoops for the poll lifetime to work out
...
you program rust for a few years and you think you're done tearing your
hair out over lifetimes, well, you'll find yourself wrong
2021-04-29 16:50:22 -07:00