mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
5ce09bcfa2
The wasm targets don't support gdb anyway so there's no need for this section there.
18 lines
410 B
Rust
18 lines
410 B
Rust
// ignore-tidy-linelength
|
|
// ignore-windows
|
|
// ignore-macos
|
|
// ignore-wasm
|
|
// ignore-emscripten
|
|
|
|
// compile-flags: -g -C no-prepopulate-passes
|
|
|
|
#![feature(start)]
|
|
|
|
// CHECK-LABEL: @main
|
|
// CHECK: load volatile i8, i8* getelementptr inbounds ([[B:\[[0-9]* x i8\]]], [[B]]* @__rustc_debug_gdb_scripts_section__, i32 0, i32 0), align 1
|
|
|
|
#[start]
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
return 0;
|
|
}
|