question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RUST][FRONTEND] macro for constructing the builder

See original GitHub issue

The proposed tvm_call! doesn’t not accept set_output. Expand the macro with perhaps some related syntax extension. TODO #2292

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nhynescommented, Dec 19, 2018

Sure Builder can be improved once we merge everything in. We’re going to need to update TVMRetValue now, though, since that’s going to become a common dependency pre-merge.

0reactions
ehsanmokcommented, Dec 19, 2018

Sure! since this issue is addressing your first proposition, shall we move on and make a succinct plan after frontend is merged in next iteration? note that there’s definitely room for improvements from both side and we’re just releasing v0.1 which is somewhat far from TVM v0.5 (if matching it is a concern).

Read more comments on GitHub >

github_iconTop Results From Across the Web

[RUST][FRONTEND] macro for constructing the builder · Issue ...
I developed the frontend with compatibility of other runtime frontends in mind (such as java) to make things more coherent than runtime when...
Read more >
Buildstructor: a proc macro to build builders from constructors
This is my first crate! buildstructor is a proc macro that creates builders for your constructors. buildstructor = "0.1.12" (now updated to ...
Read more >
Is it possible to create a macro to implement builder pattern ...
After reading the documentation, I've come up with this code: macro_rules! builder_field { ($field:ident, $field_type:ty) => { pub fn ...
Read more >
How to build a Rust API with the builder pattern
Explore the builder pattern in Rust, including owned vs. mutably referenced builders, Into and AsRef traits, and default values.
Read more >
builder_macro - Rust - Docs.rs
This crate contains two macros to declare a struct and a corresponding builder. ... The macro is inspired from jadpole/builder-macro, and is designed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found