Skip to content

Generating as #[test] causes rebuild #77

Description

@d2weber

#76 adds qt bindings generation. To use them via deltachat-cffi one has to do both

  • cargo build -p deltachat_cffi
  • cargo test deltachat-jsonrpc

Because one is build and the other test everything including all deps gets recompiled from scratch for each. Can we maybe not generate #[test]s but just functions and the yerpc-consumer can decide what to do with them? Maybe we could ditch all the arguments on the rpc proc-macro and instead generate one function which can do anything, maybe even set up to be used in a binary with a cli?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions