This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Use $crate
instead of ::solana_sdk
in declare_name!
macro
#10933
Comments
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 1, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to update to a nightly build containing this PR, and stop using `::solana_sdk` to refer to the `respan!` macro.
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 4, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 18, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
mergify bot
pushed a commit
that referenced
this issue
Aug 18, 2020
Fixes #10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In #10905, I needed to use
::solana_sdk
as a path in a macro, since a rustc issue prevents$crate
from working properly. Once rust-lang/rust#72121 is merged, we can switch to using$crate
The text was updated successfully, but these errors were encountered: