We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23109e0 commit 0608fe5Copy full SHA for 0608fe5
sdk/src/entrypoint_native.rs
@@ -58,12 +58,16 @@ macro_rules! declare_name {
58
// `declare_name(foo)`
59
//
60
// See the `respan!` macro for more details.
61
+ // This should use `crate::respan!` once
62
+ // https://github.com/rust-lang/rust/pull/72121 is merged:
63
+ // see https://github.com/solana-labs/solana/issues/10933.
64
+ // For now, we need to use `::solana_sdk`
65
66
// `respan!` respans the path `$crate::id`, which we then call (hence the extra
67
// parens)
68
(
69
stringify!($filename).to_string(),
- $crate::respan!($crate::$id, $name)(),
70
+ ::solana_sdk::respan!($crate::$id, $name)(),
71
)
72
};
73
}
0 commit comments