Commit Graph

7 Commits

Author SHA1 Message Date
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