fix: rebrand derleme hataları düzeltildi
- contracts/fixtures: workspace inheritance kaldırıldı (temp dir sorunu) - revive/fixtures: panic_immediate_abort yeni syntax güncellendi - asset-hub-zagros: pezpezsnowbridge double prefix düzeltildi - bridge-hub-*/weights: snowbridge_pezpallet → pezsnowbridge_pezpallet rename - umbrella: pezframe_benchmarking_pezpallet_pov import düzeltildi - REBRAND_PROGRESS.md: gerçek durum güncellendi (75/76 tamamlandı)
This commit is contained in:
@@ -4,12 +4,13 @@ version = "0.6.3"
|
||||
edition = "2021"
|
||||
|
||||
# Binary targets are injected dynamically by the build script.
|
||||
# Note: workspace = true fields removed because this is compiled in a temp directory
|
||||
description = "Pezkuwi SDK component: contracts"
|
||||
documentation = "https://docs.rs/contracts"
|
||||
repository = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
authors = { workspace = true }
|
||||
license = { workspace = true }
|
||||
repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
|
||||
homepage = "https://pezkuwi.io"
|
||||
authors = ["Pezkuwi Chain <admin@pezkuwi.io>"]
|
||||
license = "Apache-2.0"
|
||||
[[bin]]
|
||||
|
||||
# All paths or versions are injected dynamically by the build script.
|
||||
|
||||
@@ -176,7 +176,10 @@ fn create_cargo_toml<'a>(
|
||||
}
|
||||
|
||||
fn invoke_build(current_dir: &Path) -> Result<()> {
|
||||
let encoded_rustflags = ["-Dwarnings"].join("\x1f");
|
||||
// Note: panic_immediate_abort is now a real panic strategy in newer Rust nightlies
|
||||
// Use -Cpanic=immediate-abort instead of -Zbuild-std-features=panic_immediate_abort
|
||||
// -Zunstable-options must be in RUSTFLAGS as well for the rustc probe
|
||||
let encoded_rustflags = ["-Dwarnings", "-Zunstable-options", "-Cpanic=immediate-abort"].join("\x1f");
|
||||
|
||||
let mut build_command = Command::new("cargo");
|
||||
build_command
|
||||
@@ -191,7 +194,6 @@ fn invoke_build(current_dir: &Path) -> Result<()> {
|
||||
"build",
|
||||
"--release",
|
||||
"-Zbuild-std=core",
|
||||
"-Zbuild-std-features=panic_immediate_abort",
|
||||
])
|
||||
.arg("--target")
|
||||
.arg(polkavm_linker::target_json_path(polkavm_linker::TargetJsonArgs::default()).unwrap());
|
||||
|
||||
Reference in New Issue
Block a user