Closed bfops closed 9 years ago
Ah actually, manually running the commands gives errors for:
using Cxx = import "/capnp/c++.capnp";
$Cxx.namespace("addressbook");
Removing those makes it work..
Ouch. There was a bug where a premature EOF would cause an infinite loop. Fixed here: https://github.com/dwrensha/capnproto-rust/commit/ba62726d0566d9b976771ec5c30decc83c4c680f
Now you should get an error indicating that the import failed.
Oh, heh. Works perfectly now, thanks!
For some reason, running the example just hangs on
p.wait()
. Running the commands manually doesn't seem to cause a problem. I'm onrustc 1.0.0-nightly (2fc8b1e7c 2015-03-07) (built 2015-03-08)
.