Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Merge IPC codegen attributes into one #2460

Merged
merged 3 commits into from
Oct 5, 2016
Merged

Merge IPC codegen attributes into one #2460

merged 3 commits into from
Oct 5, 2016

Conversation

NikVolf
Copy link
Contributor

@NikVolf NikVolf commented Oct 4, 2016

No description provided.

@NikVolf NikVolf added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Oct 4, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.482% when pulling 0002bfa on ipc-codegen into 6e47795 on master.

@@ -49,7 +49,7 @@ pub fn expand_ipc_implementation(
let item = match *annotatable {
Annotatable::Item(ref item) => item,
_ => {
cx.span_err(meta_item.span, "`#[derive(Ipc)]` may only be applied to struct implementations");
cx.span_err(meta_item.span, "`#[ipc]` may only be applied to struct implementations");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this error doesn't match up with the other one in this file.

@@ -832,7 +832,7 @@ fn implement_interface(
_ => {
cx.span_err(
item.span,
"`#[derive(Ipc)]` may only be applied to implementations and traits");
"`#[ipc]` may only be applied to implementations and traits");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one is more recent/correct

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.009%) to 86.473% when pulling a7e09d8 on ipc-codegen into 6e47795 on master.

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Oct 5, 2016
@@ -29,5 +29,6 @@ ethcore-ipc-nano = { path = "../ipc/nano" }
parking_lot = "0.2.6"

[features]
default = []
default = ["ipc"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best not to have this as default; it'll already get triggered by parity's default features and IPC probably isn't wanted when testing as it means more work for rustc

@NikVolf NikVolf merged commit 1782b65 into master Oct 5, 2016
@gavofyork gavofyork deleted the ipc-codegen branch November 3, 2016 11:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants