Rust 我不能在M1上运行基板
根据这个建议,我以前可以运行基板 货舱Rust 我不能在M1上运行基板,rust,blockchain,substrate,Rust,Blockchain,Substrate,根据这个建议,我以前可以运行基板 货舱 [patch.crates-io] librocksdb-sys = { git = "https://github.com/hdevalence/rustrocksdb", branch = "master" } [workspace] members = [ 'node', 'pallets/*', 'runtime', ] [profile.release] panic = 'u
[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
你知道如何解决这个问题吗?非常感谢你 你能详细说明是什么变化导致了这种情况吗?如果您不确定,第一步是清理货物,更新您的工具链,然后重新从头开始构建。我在cargo.lock文件[[package]]name=“libc”version=“0.2.90”source=“registry+”checksum=“ba4aede83fc3617411dc6993bc8c70919750c1c257c6ca6a502aed6e0e2394ae”我在cargo.toml文件[patch.crates io]librocksdb sys={git=”“,branch=“master”}中添加了这个锁文件。不要手动编辑锁文件,而是使用
cargo update-p libc--precise 0.2.90更新