mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Substrate Companion for rust 1.54 (#3807)
* Substrate Companion for rust 1.54 * CI: run with a staging CI image * Revert "CI: run with a staging CI image" This reverts commit f3b51da0a4c0ffa43b576af5482a2be256948870. * CI: debug, again * compilation fixes * tabify * update Substrate * Update .gitlab-ci.yml * CI: add ubuntu-based image with npm Co-authored-by: Denis P <denis.pisarev@parity.io> Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -39,20 +39,18 @@ pub fn wasm_binary_unwrap() -> &'static [u8] {
|
||||
#[panic_handler]
|
||||
#[no_mangle]
|
||||
pub fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||
unsafe { core::intrinsics::abort() }
|
||||
core::intrinsics::abort()
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[alloc_error_handler]
|
||||
#[no_mangle]
|
||||
pub fn oom(_: core::alloc::Layout) -> ! {
|
||||
unsafe {
|
||||
core::intrinsics::abort();
|
||||
}
|
||||
core::intrinsics::abort();
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn validate_block(params: *const u8, len: usize) -> u64 {
|
||||
pub extern "C" fn validate_block(_params: *const u8, _len: usize) -> u64 {
|
||||
loop {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user