Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@pepyakin
Copy link
Contributor

@pepyakin pepyakin commented Jun 4, 2018

This PR should fix the travis build

@pepyakin pepyakin added the A0-please_review Pull request needs code review. label Jun 4, 2018
#[panic_implementation]
#[no_mangle]
pub extern fn panic_fmt(_fmt: ::core::fmt::Arguments, _file: &'static str, _line: u32, _col: u32) {
pub fn rust_begin_panic(info: &::core::panic::PanicInfo) -> ! {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slightly bikeshedding (so won't block approval) but i prefer simple names if possible - this could be simply panic like before. also, anything with begin in its names instinctively makes me look for something with similar with end in its name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. Sneaked rename to panic into paritytech/polkadot#189.

@gavofyork gavofyork merged commit 051e809 into master Jun 4, 2018
@gavofyork gavofyork added A8-looksgood and removed A0-please_review Pull request needs code review. labels Jun 4, 2018
@gavofyork gavofyork deleted the ser-panic_impl branch June 4, 2018 17:11
JoshOrndorff pushed a commit to moonbeam-foundation/substrate that referenced this pull request Apr 21, 2021
liuchengxu pushed a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
liuchengxu pushed a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
liuchengxu added a commit to autonomys/substrate that referenced this pull request Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants