bevy/crates/bevy_asset
Noa cb5ff51d1e
Qualify embedded_asset expansion with $crate:: (#11961)
# Objective

Right now, if you call `embedded_asset` with 2 arguments as a qualified
path it doesn't work (`bevy::asset::embedded_asset!(app, "foo.wgsl")` ->
"cannot find macro `embedded_asset` in this scope")

## Solution

Use `$crate::` in expansion for 2-arg case.
2024-02-18 21:52:32 +00:00
..
macros Release 0.13.0 (#11920) 2024-02-17 09:24:25 +00:00
src Qualify embedded_asset expansion with $crate:: (#11961) 2024-02-18 21:52:32 +00:00
Cargo.toml Release 0.13.0 (#11920) 2024-02-17 09:24:25 +00:00