]> git.lizzy.rs Git - rust.git/commit
Refactor the bounded pingpong example to avoid needing to generate unsafe code.
authorEric Holk <eric.holk@gmail.com>
Mon, 23 Jul 2012 20:50:12 +0000 (13:50 -0700)
committerEric Holk <eric.holk@gmail.com>
Wed, 25 Jul 2012 19:12:25 +0000 (12:12 -0700)
commitc28af2625870b2117e73fc8bee83a1704cff7414
tree527e545ec40d478f69943a745d220f465190078c
parent88877effa8661d20e285aa82a4a5015a4a4c871c
Refactor the bounded pingpong example to avoid needing to generate unsafe code.

Took some steps towards bounded codegen.
src/libcore/pipes.rs
src/libsyntax/ext/pipes/liveness.rs
src/libsyntax/ext/pipes/proto.rs
src/test/run-pass/pipe-pingpong-bounded.rs