tidy
this commit cannot easily be squashed, since there is already a PR based on the previous commit.
This commit is contained in:
parent
4feb949617
commit
ebd6718218
@ -1,6 +1,7 @@
|
|||||||
use object::{self, Object, ObjectSymbol, SymbolIterator};
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
|
use object::{self, Object, ObjectSymbol, SymbolIterator};
|
||||||
|
|
||||||
/// Iterate through the symbols in an object file.
|
/// Iterate through the symbols in an object file.
|
||||||
///
|
///
|
||||||
/// Uses a callback because `SymbolIterator` does not own its data.
|
/// Uses a callback because `SymbolIterator` does not own its data.
|
||||||
|
@ -20,7 +20,9 @@
|
|||||||
//@ ignore-windows
|
//@ ignore-windows
|
||||||
//@ ignore-cross-compile
|
//@ 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() {
|
fn main() {
|
||||||
rustc().input("main.rs").opt().run();
|
rustc().input("main.rs").opt().run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user