1
0
Fork 0
Commit Graph

12 Commits

Author SHA1 Message Date
whitequark a5d3430e63 Make Generator safe in presence of destructors. 2016-08-13 13:38:04 +02:00
edef b1a6b17d0a Move the Context tests and benches into src/
This concludes preparations for making Context private again.
2016-08-13 13:38:04 +02:00
whitequark 892a7696ec Allow unwinding to propagate across a context swap.
The main purpose of this is having nice backtraces in gdb, although
it also slightly simplifies poisoning state of the API consumers
after a panic.
2016-08-13 13:38:04 +02:00
edef 375846bda5 Rewrite the FPE test to not use Context directly 2016-08-09 16:00:17 +02:00
edef 4f7ab38530 Remove copyright year
They're legally meaningless.
2016-07-17 14:12:56 -04:00
whitequark 7ffad26cfd Implement the safe Generator abstraction.
close #24
2016-07-17 13:55:56 -04:00
whitequark 758088c673 Fix Stack::new(0). 2016-07-17 13:55:43 -04:00
whitequark ebd9ca8dec Allocate guard page under existing stack, not in it.
This fixes a segfault when the allocated stack is just one page long.

This also refactors the fringe::os module to use Result consistently.

close #22
2016-07-16 20:54:33 -04:00
edef bc184237cc rename simd -> context_simd
This fixes a spurious rustc warning.
2016-07-16 16:18:58 -04:00
whitequark cbe136b762 Completely rework fringe::Context and fringe::arch.
The new design concerns itself with one thing and exactly one thing:
passing values back and forth with an extern "C" function.
This allows to simplify fringe::arch into a single primitive, swap.

Close #21
2016-07-16 15:04:15 -04:00
John Ericson 65f4b0fd17 Turn the example into a test
Fix #14
2016-04-12 15:14:29 +02:00
edef be21d75814 add (ignored) test for floating point exception state
Thanks, @talchas!
Fix #13
2016-04-12 15:13:47 +02:00