pallet-revive: Fix docs.rs (#6896)
- Fixed failing docs.rs build for `pallet-revive-uapi` by fixing a wring attribute in the manifest (we were using `default-target` instead of `targets`) - Removed the macros defining host functions because the cfg attributes introduced in #6866 won't work on them - Added an docs.rs specific attribute so that the `unstable-hostfn` feature tag will show up on the functions that are guarded behind it. --------- Co-authored-by: command-bot <>
parent
ef888657
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- prdoc/pr_6896.prdoc 16 additions, 0 deletionsprdoc/pr_6896.prdoc
- substrate/frame/contracts/uapi/Cargo.toml 1 addition, 1 deletionsubstrate/frame/contracts/uapi/Cargo.toml
- substrate/frame/revive/fixtures/build/_Cargo.toml 1 addition, 1 deletionsubstrate/frame/revive/fixtures/build/_Cargo.toml
- substrate/frame/revive/proc-macro/src/lib.rs 11 additions, 0 deletionssubstrate/frame/revive/proc-macro/src/lib.rs
- substrate/frame/revive/uapi/Cargo.toml 4 additions, 2 deletionssubstrate/frame/revive/uapi/Cargo.toml
- substrate/frame/revive/uapi/src/host.rs 76 additions, 47 deletionssubstrate/frame/revive/uapi/src/host.rs
- substrate/frame/revive/uapi/src/host/riscv64.rs 72 additions, 66 deletionssubstrate/frame/revive/uapi/src/host/riscv64.rs
- substrate/frame/revive/uapi/src/lib.rs 1 addition, 0 deletionssubstrate/frame/revive/uapi/src/lib.rs
Please register or sign in to comment