In this test:
|
// The compiler will generate a shim to hide the caller location parameter. |
|
#[track_caller] |
|
fn f2() -> i32 { |
|
222 |
|
} |
I don't see anything in the current RFC text to suggest that the sym usage here should create a call shim, as they're only created when taking function pointers. Is there a function pointer being created in this test that I'm missing?
cc @Amanieu @eddyb
In this test:
rust/src/test/ui/asm/sym.rs
Lines 12 to 16 in 16957bd
I don't see anything in the current RFC text to suggest that the
symusage here should create a call shim, as they're only created when taking function pointers. Is there a function pointer being created in this test that I'm missing?cc @Amanieu @eddyb