rust - 我无法在 M1 上运行 Substrate
问题描述
我可以根据这个建议运行 Substrate。关联
货物.toml
[patch.crates-io]
librocksdb-sys = { git =
"https://github.com/hdevalence/rustrocksdb", branch = "master" }
[workspace]
members = [
'node',
'pallets/*',
'runtime',
]
[profile.release]
panic = 'unwind'
货物锁
[[package]]
name = "libc"
version = "0.2.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum
="ba4aede83fc3617411dc6993bc8c70919750c1c257c6ca6a502aed6e0e2394ae"
但我又遇到了另一个错误。喜欢
169 | (*cx.uc_mcontext).__ss.__rip as *const u8
| ^^^^^ unknown field
|
= note: available fields are: `__x`, `__fp`, `__lr`, `__sp`, `__pc` ... and 2 others
error: aborting due to previous error
For more information about this error, try `rustc --explain E0609`.
error: could not compile `wasmtime-runtime`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
你知道如何解决这个问题吗?太感谢了!
解决方案
推荐阅读
- html - 显示 flex 中的问题与文本
- javascript - 在函数中使用变量作为选择器
- c# - 对 observable 中第一个元素的特殊处理
- mongodb - 搜索特定文档时MongoDB对地图元素进行排序
- angular - 如何基于 mat-select 选项显示组件
- java - 我想以其他颜色突出显示比较两个字符串时发现的增量(差异)的文本
- postgresql - 无法搜索字符变 [] 数组列
- c# - 与我的 ASP.NET Web 服务的 SSAS 连接出现问题
- python - pyplot subplots_adjust(wspace = 0) 命令不起作用
- react-native - 我想更改抽屉中用户名的状态。从更新配置文件屏幕更新后