Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Did not find ELF magic number #100

Open
EdmundsEcho opened this issue Jun 28, 2023 · 0 comments
Open

error: Did not find ELF magic number #100

EdmundsEcho opened this issue Jun 28, 2023 · 0 comments

Comments

@EdmundsEcho
Copy link

Great idea for a tool. A welcome addition.

I'm on a mac M1, with the target set accordingly. I tried to run a small app that failed. This may be just an FYI given the nightly changes etc.. but wanted to share nonetheless.

v1.72.0-nightly

fn main() {
    let hello_world = HelloWorld {
        message: Message::HelloWorld,
    };
    println!("{:#?}", hello_world)
}
> cargo +nightly call-stack --bin fun > cg.got
error: Did not find ELF magic number

The lto is set to 'fat', the target is set in my cargo config...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant