I never got around to implementing Data constants, until just now:
https://github.com/dwrensha/capnpc-rust/commit/929fbbc378ffa5eafd6ef1278e79a36bbf85dfbe

On Wed, Apr 5, 2017 at 11:27 AM, stewart mackenzie <[email protected]>
wrote:

> Greetings,
>
> I've got a file called opcodes.capnp
>
> @0xb8d0e016e09e5605;
>
> const stop :Data = 0x"00";
> const add :Data = 0x"01";
> const mul :Data = 0x"02";
> ... etc
>
> and I run this command:
>
> $ capnp compile -o /path/to/capnpc-rust ../../../tests/opcodes.capnp
> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
> Error { kind: Unimplemented, description: "data constants" }',
> /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/
> result.rs:868
> note: Run with `RUST_BACKTRACE=1` for a backtrace.
> /home/stewart/dev/capnpc-rust/target/release/capnpc-rust: plugin failed:
> exit code 101
>
> any idea about this?
>
> kr/sjm
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to