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

Smd macro not working in Bazel #12

Open
tvolk131 opened this issue Apr 15, 2021 · 0 comments
Open

Smd macro not working in Bazel #12

tvolk131 opened this issue Apr 15, 2021 · 0 comments

Comments

@tvolk131
Copy link

tvolk131 commented Apr 15, 2021

I'm trying to add a smithy-based frontend to my bazel project, but the rust compiler is throwing an error on any use of smd!(). I'm not really sure why. I made a MWE here using the exact code from the rustactoe example.

Here's the error I get:

error: proc macro panicked
   --> smithy_client/app.rs:97:3
    |
97  | /   smithy::smd!(
98  | |     <style type="text/css">{ css.as_css_string() }</style>
99  | |     <div class={css.classes.board}>
100 | |       {
...   |
140 | |     </div>
141 | |   )
    | |___^
    |
    = help: message: called `Result::unwrap()` on an `Err` value: NotPresent

error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant