smithy
smithy copied to clipboard
Smd macro not working in Bazel
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