smithy icon indicating copy to clipboard operation
smithy copied to clipboard

Smd macro not working in Bazel

Open tvolk131 opened this issue 3 years ago • 0 comments

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

tvolk131 avatar Apr 15 '21 00:04 tvolk131