Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pilota.rust_wrapper_arc annotation wrapper Arc outside #126

Open
Millione opened this issue Mar 28, 2023 · 0 comments
Open

Make pilota.rust_wrapper_arc annotation wrapper Arc outside #126

Millione opened this issue Mar 28, 2023 · 0 comments

Comments

@Millione
Copy link
Member

Millione commented Mar 28, 2023

Feature Request

Motivation

Can pilota.rust_wrapper_arc annotation support wrapper Arc like this:

struct B {
  1: required list<string> a(pilota.rust_wrapper_arc="inner"),
  2: required list<string> b(pilota.rust_wrapper_arc="outer"),
}

Generated:

pub struct B {
  a: ::std::collections::Vec<::std::sync::Arc<::pilota::FastStr>>,
  b: ::std::sync::Arc<::std::collections::Vec<::pilota::FastStr>>,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant