Skip to content

Smd macro not working in Bazel #12

@tvolk131

Description

@tvolk131

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions