You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building subtensor leads to a non-functioning binary (with fatal errors such as "runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1'") which is solved by adding --features=runtime-benchmarks as mentioned in the Discord. It would be nice if the README would reflect this requirement.
Describe the bug
Building subtensor leads to a non-functioning binary (with fatal errors such as
"runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1'"
) which is solved by adding--features=runtime-benchmarks
as mentioned in the Discord. It would be nice if the README would reflect this requirement.To Reproduce
cargo build --release
"runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1'"
Expected behavior
I expect a working binary after performing the build instructions.
Screenshots
No response
Environment
Linux Ubuntu
Additional context
It seems to be solved by adding
--features=runtime-benchmarks
to thecargo build
command.The text was updated successfully, but these errors were encountered: