mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Update tests/run-make/wasm-builtins-import/main.rs
clarify seemingly circular reference
This commit is contained in:
parent
a6f7596fb9
commit
7d0675125c
@ -9,6 +9,6 @@ fn my_panic(_info: &core::panic::PanicInfo) -> ! {
|
|||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn multer(a: i128, b: i128) -> i128 {
|
pub fn multer(a: i128, b: i128) -> i128 {
|
||||||
// Trigger usage of the __multi3 compiler intrinsic which then leads to an imported function
|
// Trigger usage of the __multi3 compiler intrinsic which then leads to an imported function
|
||||||
// such as panic or __multi3 in case of a bug. We verify that no imports exist in our verifier.
|
// such as panic or __multi3 (externally defined) in case of a bug. We verify that no imports exist in our verifier.
|
||||||
a * b
|
a * b
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user