this commit cannot easily be squashed, since there is already a
PR based on the previous commit.
This commit is contained in:
binarycat 2024-07-30 13:33:25 -04:00
parent 4feb949617
commit ebd6718218
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
use object::{self, Object, ObjectSymbol, SymbolIterator};
use std::path::Path;
use object::{self, Object, ObjectSymbol, SymbolIterator};
/// Iterate through the symbols in an object file.
///
/// Uses a callback because `SymbolIterator` does not own its data.

View File

@ -20,7 +20,9 @@
//@ ignore-windows
//@ ignore-cross-compile
use run_make_support::{env::no_debug_assertions, rustc, symbols::any_symbol_contains};
use run_make_support::env::no_debug_assertions;
use run_make_support::rustc;
use run_make_support::symbols::any_symbol_contains;
fn main() {
rustc().input("main.rs").opt().run();