Skip to content

cargo size -- --version yields an error instead of the expected output #112

@twilco

Description

@twilco

Following the guide here, running cargo size -- --version results in the following error:

dyld: Library not loaded: @rpath/libLLVM.dylib
  Referenced from: /Users/twilcock/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/llvm-size
  Reason: image not found

I think there's been changes recently in how LLVM is referenced by the Rust compiler, so maybe that has something to do with it? The other commands on that page worked without issue.

I'm using a 2014 MacBook Pro. Here is my Rust version:

$ rustc --version                        
rustc 1.30.0-nightly (6e0f1cc15 2018-09-05)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions