A cargo subcommand that displays the assembly generated for Rust source code

Overview

cargo-show-asm

A cargo subcommand that displays the assembly generated for Rust source code.

Install

cargo install cargo-show-asm

Features

  • Platform support:

    • OS: Linux and MacOSX. Limited support for Windows
    • Rust: nightly and stable.
    • Architectures: x86, x86_64, aarch64, probably more but untested.
    • Crosscompilation support.

Missing operating systems and architenctures might be supported by accident, please make a ticket if something not working for your favorite platform

  • Displaying:

    • Assembly in Intel or AT&T syntax.
    • Corresponding Rust source code alongside assembly.
    • llvm-ir.

Usage:

You can start by running cargo asm with no parameters - it will suggests how to narrow the search scope - for workspace crates you need to specify a crate to work with, for crates defining several targets (lib, binaries, examples) you need to specify exactly which target to use. In a workspace cargo asm lists only workspace members as suggestions but any crate from workspace tree is available.

Once cargo asm focues on a single target it will run rustc producing assembly file and will try to list of available public functions:

::fmt" [17, 12, 12, 12, 12, 19, 19, 12] "<&mut W as core::fmt::Write>::write_char" [20] "<&mut W as core::fmt::Write>::write_fmt" [38] "<&mut W as core::fmt::Write>::write_str" [90] ">::parse" [263] ...">
% cargo asm --lib
Try one of those
"<&T as core::fmt::Display>::fmt" [17, 12, 12, 12, 12, 19, 19, 12]
"<&mut W as core::fmt::Write>::write_char" [20]
"<&mut W as core::fmt::Write>::write_fmt" [38]
"<&mut W as core::fmt::Write>::write_str" [90]
" as nom::internal::Parser>::parse" [263]
...

Name in quotes is demangled rust name, numbers in square brackets represent number of lines in asm file. Function with the same name can be present in several instances.

Specifying exact function name will print its assembly code

% cargo asm --lib "cargo_show_asm::opts::focus::{{closure}}"

To pick between different alternatives you can either specify the index

% cargo asm --lib "cargo_show_asm::opts::focus::{{closure}}" 2

Or start using full names with hex included:

::initialize::h9c5c7d5bd745000b"">
% cargo asm --lib --full-name
....
% cargo asm --lib "once_cell::imp::OnceCell::initialize::h9c5c7d5bd745000b"

cargo-show-asm comes with a built in search function. Just pass partial name instead of a full one and only matching functions will be listed

% cargo asm --lib Debug

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Comments
  • [PoC] Replace libcargo with cargo CLI

    [PoC] Replace libcargo with cargo CLI

    Fixes #69

    This PR is an incomplete draft for more discussion.

    • --lib, --test, --bench, --package selectors, and auto-selection are implemented. Asm paths are constructed precisely without guessing.
    • ~--bin, --example are not implemented, which need file searching and guessing. We could construct asm paths using unstable --build-plan arguments but not sure that's acceptable.~ --bin, --example are implemented by tracking hard-links to get the asm file name.
    • ~--release, --dry-run and etc flags should be trivial by passing-through. They are not implemented yet to focus on the overall approach.~ Implemented.

    Currently we use some kind of guessing for extra-filenames (the hash part in filename), which may need cargo clean before the run. It's kind of annoying to clean artifacts for a big project.

    opened by oxalica 18
  • Improve labels and add more coloring

    Improve labels and add more coloring

    This PR adds a few things

    • detection for new local label types like LBB0_1 and Ltmp12
    • colorizing labels in arguments
    • packing the assembly together (this last one could be optional behind a flag, but I really like the packed look)

    See before and after below. A few things to note:

    • the many Ltmp* labels went away (which is super nice!)
    • the LBB labels stayed when they are used
    • you can easily see labels in arguments, so tracing control flow is a lot easier
    • assembly is packed (which I prefer)
    comparison

    Before: image

    After: image

    After (if packing is dropped) image

    opened by RustyYato 13
  • Panic when interleaving Rust code

    Panic when interleaving Rust code

    Hi! When I run cargo-show-asm version 0.1.23, I get an indexing panic.

    Repro:

    $ git clone https://github.com/rust-lang/rustc-perf
    $ cd rustc-perf/collector/runtime-benchmarks
    $ cargo asm --bin hashmap-bench "hashmap_bench::main" --rust
    
    ...
    thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 1674', /home/kobzol/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-show-asm-0.1.23/src/asm.rs:141:34
    stack backtrace:
       0: rust_begin_unwind
                 at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
       1: core::panicking::panic_fmt
                 at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
       2: core::panicking::panic_bounds_check
                 at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:84:5
       3: cargo_show_asm::asm::dump_range
       4: cargo_show_asm::asm::dump_function
       5: cargo_asm::main
    

    Rust version:

    rustc 1.64.0 (a55dd71d5 2022-09-19)
    binary: rustc
    commit-hash: a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52
    commit-date: 2022-09-19
    host: x86_64-unknown-linux-gnu
    release: 1.64.0
    LLVM version: 14.0.6
    
    opened by Kobzol 13
  • Error: Cannot locate the path to the asm file

    Error: Cannot locate the path to the asm file

    In shadow (an admittedly complex hybrid C/Rust project that uses build scripts, bindgen, and cbindgen...) I'm getting the following error:

    # Use shadow's helper to initialize a cmake build dir
    $ ./setup build debug
    ...
    # Try using cargo asm:
    $ (cd src && cargo asm -p shadow-rs --lib "shadow_rs::main::host::Host::default_ip")
    ...
    Error: Cannot locate the path to the asm file
    

    I tried on both Rust 1.63.0 and 1.65.0

    opened by sporksmith 12
  • Error: Compilation produced no files

    Error: Compilation produced no files

    Trying to run on crossbeam's crossbeam-utils crate on windows gave me these errors:

    crossbeam\crossbeam-utils> cargo asm  --test subcrates
    Error: Compilation produced no files satisfying .\deps\subcrates-*.s, this is a bug
    
    crossbeam\crossbeam-utils> cargo asm  --lib
    Error: Compilation produced no files satisfying .\deps\crossbeam-*.s, this is a bug
    

    I'm not sure if there's some dependency I'm missing or something, I just installed via cargo install cargo-show-asm

    opened by nico-abram 9
  • Does not compile (macOS 12.6 / aarch64)

    Does not compile (macOS 12.6 / aarch64)

    cargo install fails on macOS 12.6 on an M2 macbook air with Rust 1.64. Once all the dependencies compile, I get a huge list of successful compilation (exit 0) messages and then the fun begins:

    error.log ``` running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_exec.o" "-c" "libgit2/deps/pcre/pcre_exec.c" cargo:warning=In file included from libgit2/src/libgit2/streams/stransport.c:12: cargo:warning=In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43: cargo:warning=In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:73: cargo:warning=/usr/local/include/Block.h:16:3: error: Never include this file directly. Use instead. cargo:warning=# error Never include this file directly. Use instead. cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:93:2: error: unknown type name 'lzma_check' cargo:warning= lzma_check check; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:148:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli compressed_size; cargo:warning= ^ exit status: 0 cargo:warning=/usr/local/include/Block.h:172:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli uncompressed_size; cargo:warning= ^ running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_fullinfo.o" "-c" "libgit2/deps/pcre/pcre_fullinfo.c" cargo:warning=/usr/local/include/Block.h:200:2: error: unknown type name 'lzma_filter' cargo:warning= lzma_filter *filters; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:217:20: error: use of undeclared identifier 'LZMA_CHECK_SIZE_MAX' cargo:warning= uint8_t raw_check[LZMA_CHECK_SIZE_MAX]; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:231:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int3; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:232:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int4; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:233:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int5; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:234:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int6; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:235:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int7; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:236:2: error: unknown type name 'lzma_vli' cargo:warning= lzma_vli reserved_int8; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:237:2: error: unknown type name 'lzma_reserved_enum' cargo:warning= lzma_reserved_enum reserved_enum1; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:238:2: error: unknown type name 'lzma_reserved_enum' cargo:warning= lzma_reserved_enum reserved_enum2; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:239:2: error: unknown type name 'lzma_reserved_enum' cargo:warning= lzma_reserved_enum reserved_enum3; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:240:2: error: unknown type name 'lzma_reserved_enum' cargo:warning= lzma_reserved_enum reserved_enum4; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:261:2: error: unknown type name 'lzma_bool' cargo:warning= lzma_bool ignore_check; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:263:2: error: unknown type name 'lzma_bool' cargo:warning= lzma_bool reserved_bool2; cargo:warning= ^ cargo:warning=/usr/local/include/Block.h:264:2: error: unknown type name 'lzma_bool' cargo:warning= lzma_bool reserved_bool3; cargo:warning= ^ exit status: 0 cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=] running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_get.o" "-c" "libgit2/deps/pcre/pcre_get.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_globals.o" "-c" "libgit2/deps/pcre/pcre_globals.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_jit_compile.o" "-c" "libgit2/deps/pcre/pcre_jit_compile.c" cargo:warning=20 errors generated. exit status: 1 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/deps/pcre/pcre_maketables.o" "-c" "libgit2/deps/pcre/pcre_maketables.c" exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0

    --- stderr

    error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libssh2-sys-e07d767d7ab8109f/out/include" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C="common.h"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="common.h"" "-o" "/var/folders/ws/bntkf5_n1rjfl5gk0py4wqhw0000gn/T/cargo-installzOzfiA/release/build/libgit2-sys-9f995afbb98cc2a6/out/build/libgit2/src/libgit2/streams/stransport.o" "-c" "libgit2/src/libgit2/streams/stransport.c" with args "cc" did not execute successfully (status code exit status: 1).

    </details>
    opened by ndaniels 7
  • `same_file::is_same_file` does work to identify assembly file on MacOS

    `same_file::is_same_file` does work to identify assembly file on MacOS

    The code which locates the assembly file for an executable target uses same_file::is_same_file to find the file in deps/ that is that same as the target binary. On Linux this works because cargo hard links the two (see the inode matching in the first column of the ls -li output:

    linux-box> ls -li target/thumbv6m-none-eabi/release/rp2040-project-template
    43257897 -rwx------ 2 konkers primarygroup 462184 Oct 26 23:19 target/thumbv6m-none-eabi/release/rp2040-project-template
    linux-box> ls -li target/thumbv6m-none-eabi/release/deps/rp2040_project_template-ada3da3d6c134605
    43257897 -rwx------ 2 konkers primarygroup 462184 Oct 26 23:19 target/thumbv6m-none-eabi/release/deps/rp2040_project_template-ada3da3d6c134605
    

    However, on MacOS, it appears that cargo is copying the file as they have different inodes:

    mac-box> ls -li target/thumbv6m-none-eabi/release/deps/rp2040_project_template-230a92e91f598f68
    64623547 -rwx------  1 konkers  primarygroup  433724 Oct 28 09:56 target/thumbv6m-none-eabi/release/deps/rp2040_project_template-230a92e91f598f68
    mac-box> ls -li target/thumbv6m-none-eabi/release/rp2040-project-template
    64629801 -rwx------  1 konkers  primarygroup  433724 Oct 28 09:56 target/thumbv6m-none-eabi/release/rp2040-project-template
    

    Perhaps comparing the actual contents is needed on MacOS?

    opened by konkers 6
  • Error: Compilation produced no files satisfying /homedir/project/target/release/deps/project-*.s, this is a bug

    Error: Compilation produced no files satisfying /homedir/project/target/release/deps/project-*.s, this is a bug

    Trying cargo asm --bin <project> <function_name> on my project fails with the above error. The listed path is wrong since I'm cross-compiling for thumbv7em-none-eabihf.

    The correct path should be /homedir/project/target/thumbv7em-none-eabihf/release/deps/project-*.s.

    opened by luctius 6
  • Make compatible with wasm

    Make compatible with wasm

    I also cleaned up some parser functions a bit; it wasn't my intention going in, but I was trying to understand how they worked and ended up making them a bit more clear.

    A side effect of this change is that the line

    	.size	asmtest::tostr, .Lfunc_end0-asmtest::tostr
    

    gets left out now on non-windows platforms, but the upside is that cross-compiling to windows (e.g. running cargo asm --target x86_64-pc-windows-msvc on Linux) now works (and I don't think it's much of a loss anyway).

    opened by coolreader18 5
  • Question: What are the requirements for a function to be displayed?

    Question: What are the requirements for a function to be displayed?

    Today I wanted to try out this tool to examine the generated assembly of a particular function in my project. However, the function that I was most interested in unfortunately did not even show up in the filters. I tried to make it public and exported it etc but all that did not work. Also I could not find documentation about how to make a function in a crate displayable via this tool. It would be neat to have this information available. :) And in case I missed information that is already available somewhere please point me to it.

    update: I got cargo-asm to show the function. The problem was that the function was generic and thus had no proper monomorphized instantiation. I fixed it by defining a new function with default generic parameters in place.

    opened by Robbepop 4
  • Expose cargo's vendored-openssl feature

    Expose cargo's vendored-openssl feature

    The openssl installation situation on macOS is terrible 🤝 horrible 🤝 no good 🤝 very bad, so it's common for applications that depend on cargo to expose this alternative.

    • https://github.com/kbknapp/cargo-outdated/blob/v0.11.1/Cargo.toml#L50
    • https://github.com/rust-secure-code/cargo-geiger/blob/cargo-geiger-0.11.4/cargo-geiger/Cargo.toml#L39
    • https://github.com/est31/cargo-udeps/blob/v0.1.32/Cargo.toml#L16
    • https://github.com/nabijaczleweli/cargo-update/blob/v8.2.0/Cargo.toml#L92

    Without vendored openssl, installation fails on macOS with:

    ...
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/rustcgAqSq1/symbols.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.0.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.1.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.10.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.11.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.12.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.13.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.14.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.15.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.2.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.3.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.4.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.5.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.6.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.7.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.8.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.cargo_asm.65085fea-cgu.9.rcgu.o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4.1nfh02nhkv6wb58x.rcgu.o" "-L" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps" "-L" "/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/lib/darwin" "-L" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/build/curl-sys-16581f558844e8af/out/build" "-L" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/build/libnghttp2-sys-9e014bc14badb56b/out/i/lib" "-L" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/build/libgit2-sys-9f995afbb98cc2a6/out/build" "-L" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/build/libssh2-sys-e07d767d7ab8109f/out/build" "-L" "/opt/homebrew/opt/[email protected]/lib" "-L" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libnix-77e85ae2fb160341.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcargo_show_asm-9a313f94992d55bd.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbpaf-319888e6bdc2812f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/librustc_demangle-8da27d01b9535a9d.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libline_span-fb44aa64abe5be9a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libowo_colors-34c4809a8198136c.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libsupports_color-ee6085e6cedacbe1.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libis_ci-5b8b8ad03009e06b.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libnom-304afc55baffbbf9.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcargo-585e38fadba30766.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libhome-0825e40e20aa4bdb.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libopener-edfc78d81722a1d6.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libunicode_xid-33f78e40fdda1410.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libim_rc-86404f2a434c3535.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/librand_xoshiro-66c3b77f96f01328.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/librand_core-9b9eb45c286139c7.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libsized_chunks-15404f2ffc82b564.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbitmaps-c79ceacb7dc499ab.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtypenum-d7937aee5846db6e.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libhumantime-0d0ce8c0eaf88389.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libstrip_ansi_escapes-deee50f2ffb59566.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libvte-44d7618409c97fea.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libutf8parse-251859f1dc7ea2c7.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libarrayvec-1be44790d86c58c4.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libnum_cpus-21d3624b0cec72c4.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libserde_ignored-7d03830ecfb0957a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libunicode_width-8bf8129c5d0ae63c.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libclap-625a6b63e14aa078.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libatty-f8d4e462c36400da.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libstrsim-90b63ed9f828463f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtextwrap-b06c9c339731a808.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libclap_lex-00db473b72f3044f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libos_str_bytes-44b646024f96e99b.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libignore-987a142013878f99.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblazy_static-ebd75cc0f36ef66d.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libthread_local-5197f7cd4fa56206.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libglobset-691a6453ae07744f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libfnv-0419508d61057d71.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libregex-b3a5da7950c531ea.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libregex_syntax-37daa5846bec1b7a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbstr-daac985e30352ff7.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libaho_corasick-44225d686fef2bf8.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libgit2-44ff6d8f2a0c6e2f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblibgit2_sys-cd51a0f1e0eeaf87.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblibssh2_sys-41a7260dd55df7e7.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libopenssl_sys-55fbcd6e30b7a99f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbitflags-2bbfbfade6407190.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcrates_io-d033f0fdf515cbb2.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/librustfix-90d0d891e48d5707.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtar-3853731d3d50e607.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libflate2-aabcdb8cd1f1563e.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcrc32fast-54beddddea2cb5fc.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libserde_json-df3e11ee9f0bbabb.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libryu-ef0db24e0432c9b6.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libitoa-d63aebe64377efe5.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libpathdiff-cc2c38718339dc47.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libglob-557e930271e9e9d9.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtermcolor-ff0126ae5373e748.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcurl-58012c2e337815c3.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libsocket2-157b84509ff1217e.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcurl_sys-67acb1f1af16adc3.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblibz_sys-5866fff99dc59df3.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblibnghttp2_sys-b66de93ecd66de72.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbytesize-1b4bf0585bb5e656.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtoml_edit-538f9a9decf4bc3a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libkstring-7db2b69cd1c33f04.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libstatic_assertions-4f0dc294aab23062.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libindexmap-cb088934ecb46261.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libhashbrown-fe8315aebe5807ae.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libitertools-dd634c1bb60f04aa.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libeither-e010383f73d8ad9f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcombine-ac48ec15eaf3058e.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libmemchr-b9afceb11d89c5ca.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libbytes-cd93eda7ae369d96.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liburl-a9fb294bd6bb64b7.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libidna-11f8ac9e74f8a505.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libunicode_normalization-ee648b9945147e9c.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtinyvec-578cef4b7f7be158.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtinyvec_macros-b04713a4a486580f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libunicode_bidi-e31b0e7e02283d3f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libform_urlencoded-32bf11090fdb154b.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libpercent_encoding-f826ffdab1c80872.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libsemver-b4cb5168b9103ff6.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcrossbeam_utils-3bdcc89448c5cf50.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libonce_cell-c54d016c78b1353d.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblazycell-86ef46abe9bbfb41.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcargo_platform-7f8ddc7cbd933a30.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libserde-c947d6b98d72dbfd.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcargo_util-f5989f02cb9bbbe5.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libhex-713e61cc6c8ebcc5.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libwalkdir-6a288a184e4d818e.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libsame_file-097311bb4d87b294.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcrypto_hash-676e66d200acd7d8.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libhex-4f1306b805de157a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcommoncrypto-87164eb4c489fcd0.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcommoncrypto_sys-721a72e61fd2fe7a.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libshell_escape-28af3f573957ea13.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libjobserver-cd91b4e6b9dd9226.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcore_foundation-14811339abb593c0.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcore_foundation_sys-7eee4972737996ee.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libtempfile-8699395f06a55106.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libfastrand-fcefc726ebcf7521.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libremove_dir_all-5ec04e9bf355307f.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libfiletime-ab9e9a0e337c9ffb.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblibc-620aa76d71f28a45.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/liblog-ce89bebd7bfd835b.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libcfg_if-0692cee5d0087e61.rlib" "/private/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/libanyhow-255aedc66112ab9f.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-2a5c2e72f36cb3e5.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-5d6c50a5511d5b38.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-44703751ec754c6f.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-d6f3bfbb73711004.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-44af0db03be329d2.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-9dc78b50bf1c45c0.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-8697aceef2377a94.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f73601afb512f85e.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-bcce83c0fca5d510.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-a80be289d3b85f20.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-85181678fc783242.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-4e642e6b12910c5b.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-b67175a3e890da31.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-1ba63ac4e9539424.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-58428a237963e73e.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-7512abb04e6cb940.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-880986a981365e05.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-a8a859a864856684.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-908209eee60fb642.rlib" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-cb46d4fa30adb098.rlib" "-liconv" "-framework" "Security" "-framework" "CoreFoundation" "-lssl" "-lcrypto" "-lclang_rt.osx" "-framework" "Security" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-lz" "-framework" "CoreFoundation" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/dtolnay/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/jm/n9f0cy6n27n2cr0q4l3009dw0000gn/T/cargo-installjrGGsg/release/deps/cargo_asm-59b9c7450fe24ef4" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: ld: warning: ignoring file /opt/homebrew/opt/[email protected]/lib/libssl.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
              ld: warning: ignoring file /opt/homebrew/opt/[email protected]/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
              Undefined symbols for architecture arm64:
                "_BIO_ctrl", referenced from:
                    __libssh2_pub_priv_keyfile in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfilememory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BIO_free", referenced from:
                    __libssh2_rsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_rsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_BIO_new_file", referenced from:
                    __libssh2_rsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfile in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BIO_new_mem_buf", referenced from:
                    __libssh2_rsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfilememory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BN_CTX_free", referenced from:
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _diffie_hellman_sha_algo in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                "_BN_CTX_new", referenced from:
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _diffie_hellman_sha_algo in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                "_BN_bin2bn", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_BN_bn2bin", referenced from:
                    __libssh2_dsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_curve25519_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _ecdh_sha2_nistp in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _diffie_hellman_sha_algo in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_BN_clear_free", referenced from:
                    __libssh2_dh_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_curve25519_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _ecdh_sha2_nistp in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _kex_method_diffie_hellman_group_exchange_sha256_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _diffie_hellman_sha_algo in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _kex_method_diffie_hellman_group16_sha512_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_BN_div", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BN_mod_exp", referenced from:
                    __libssh2_dh_key_pair in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dh_secret in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BN_new", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dh_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_BN_num_bits", referenced from:
                    __libssh2_dsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_curve25519_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _ecdh_sha2_nistp in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _diffie_hellman_sha_algo in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_BN_rand", referenced from:
                    __libssh2_dh_key_pair in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BN_set_word", referenced from:
                    _kex_method_diffie_hellman_group16_sha512_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _kex_method_diffie_hellman_group18_sha512_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _kex_method_diffie_hellman_group14_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    _kex_method_diffie_hellman_group1_sha1_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                "_BN_sub", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_BN_value_one", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_SIG_free", referenced from:
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_SIG_get0", referenced from:
                    __libssh2_dsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_SIG_new", referenced from:
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_SIG_set0", referenced from:
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_do_sign", referenced from:
                    __libssh2_dsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_do_verify", referenced from:
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_free", referenced from:
                    _hostkey_method_ssh_dss_init in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_initPEM in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_initPEMFromMemory in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_get0_key", referenced from:
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_get0_pqg", referenced from:
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_new", referenced from:
                    __libssh2_dsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_set0_key", referenced from:
                    __libssh2_dsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_DSA_set0_pqg", referenced from:
                    __libssh2_dsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDH_compute_key", referenced from:
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_SIG_free", referenced from:
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_SIG_get0", referenced from:
                    __libssh2_ecdsa_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_SIG_new", referenced from:
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_SIG_set0", referenced from:
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_do_sign", referenced from:
                    __libssh2_ecdsa_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ECDSA_do_verify", referenced from:
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_GROUP_get_curve_name", referenced from:
                    __libssh2_ecdsa_get_curve_type in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_GROUP_get_degree", referenced from:
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_KEY_free", referenced from:
                    _hostkey_method_ssh_ecdsa_init in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ecdsa_initPEM in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ecdsa_initPEMFromMemory in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ecdsa_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_ecdh_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_EC_KEY_generate_key", referenced from:
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_KEY_get0_group", referenced from:
                    __libssh2_ecdsa_get_curve_type in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EC_KEY_get0_public_key", referenced from:
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_KEY_new_by_curve_name", referenced from:
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_KEY_set_private_key", referenced from:
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_KEY_set_public_key", referenced from:
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_POINT_free", referenced from:
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_POINT_new", referenced from:
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_POINT_oct2point", referenced from:
                    __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdh_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EC_POINT_point2oct", referenced from:
                    __libssh2_ecdsa_create_key in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ENGINE_load_builtin_engines", referenced from:
                    __libssh2_openssl_crypto_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_ENGINE_register_all_complete", referenced from:
                    __libssh2_openssl_crypto_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_CIPHER_CTX_free", referenced from:
                    _crypt_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_CIPHER_CTX_new", referenced from:
                    __libssh2_cipher_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_Cipher", referenced from:
                    __libssh2_cipher_crypt in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_CipherInit", referenced from:
                    __libssh2_cipher_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_DigestFinal", referenced from:
                    _hostkey_method_ssh_ecdsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_curve25519_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_EVP_DigestInit", referenced from:
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha1_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha256_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha384_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha512_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EVP_DigestSign", referenced from:
                    __libssh2_ed25519_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_DigestSignInit", referenced from:
                    __libssh2_ed25519_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_DigestUpdate", referenced from:
                    _hostkey_method_ssh_ecdsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _kex_method_curve25519_key_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    ...
                "_EVP_DigestVerify", referenced from:
                    __libssh2_ed25519_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_DigestVerifyInit", referenced from:
                    __libssh2_ed25519_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_MD_CTX_free", referenced from:
                    _hostkey_method_ssh_ecdsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_dss_signv in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha1_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EVP_MD_CTX_new", referenced from:
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha1_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha256_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha384_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha512_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EVP_PKEY_CTX_free", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_CTX_new", referenced from:
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_CTX_new_id", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_derive", referenced from:
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_derive_init", referenced from:
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_derive_set_peer", referenced from:
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_free", referenced from:
                    _hostkey_method_ssh_ed25519_init in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ed25519_initPEM in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ed25519_initPEMFromMemory in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_ed25519_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ed25519_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ed25519_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EVP_PKEY_get1_DSA", referenced from:
                    _gen_publickey_from_dsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_get1_EC_KEY", referenced from:
                    _gen_publickey_from_ec_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_get1_RSA", referenced from:
                    _gen_publickey_from_rsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_get_raw_private_key", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_get_raw_public_key", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ed_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_id", referenced from:
                    __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfile in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfilememory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_keygen", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_keygen_init", referenced from:
                    __libssh2_curve25519_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_new", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_new_raw_private_key", referenced from:
                    _gen_publickey_from_ed25519_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_new_raw_public_key", referenced from:
                    __libssh2_ed25519_new_public in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_curve25519_gen_k in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_set1_DSA", referenced from:
                    _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_set1_EC_KEY", referenced from:
                    _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_PKEY_set1_RSA", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_EVP_aes_128_cbc", referenced from:
                    _libssh2_crypt_method_aes128_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_aes_128_ctr", referenced from:
                    _libssh2_crypt_method_aes128_ctr in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_aes_192_cbc", referenced from:
                    _libssh2_crypt_method_aes192_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_aes_192_ctr", referenced from:
                    _libssh2_crypt_method_aes192_ctr in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_aes_256_cbc", referenced from:
                    _libssh2_crypt_method_aes256_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                    _libssh2_crypt_method_rijndael_cbc_lysator_liu_se in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_aes_256_ctr", referenced from:
                    _libssh2_crypt_method_aes256_ctr in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_bf_cbc", referenced from:
                    _libssh2_crypt_method_blowfish_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_cast5_cbc", referenced from:
                    _libssh2_crypt_method_cast128_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_des_ede3_cbc", referenced from:
                    _libssh2_crypt_method_3des_cbc in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_get_digestbyname", referenced from:
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha1_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha256_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha384_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_sha512_init in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    ...
                "_EVP_md5", referenced from:
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_EVP_rc4", referenced from:
                    _libssh2_crypt_method_arcfour128 in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                    _libssh2_crypt_method_arcfour in liblibssh2_sys-41a7260dd55df7e7.rlib(crypt.o)
                "_EVP_ripemd160", referenced from:
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_EVP_sha1", referenced from:
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_EVP_sha256", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_EVP_sha512", referenced from:
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_HMAC_CTX_free", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_HMAC_CTX_new", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_HMAC_Final", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_HMAC_Init_ex", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_HMAC_Update", referenced from:
                    _mac_method_hmac_sha2_256_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha2_512_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_sha1_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_md5_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                    _mac_method_hmac_ripemd160_hash in liblibssh2_sys-41a7260dd55df7e7.rlib(mac.o)
                "_OPENSSL_init_ssl", referenced from:
                    std::sync::once::Once::call_once::_$u7b$$u7b$closure$u7d$$u7d$::h2c2f6429eca48f53 (.llvm.3000087089510908475) in libopenssl_sys-55fbcd6e30b7a99f.rlib(openssl_sys-55fbcd6e30b7a99f.openssl_sys.287fef1f-cgu.7.rcgu.o)
                    core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb38f9b26fae66a12 (.llvm.3000087089510908475) in libopenssl_sys-55fbcd6e30b7a99f.rlib(openssl_sys-55fbcd6e30b7a99f.openssl_sys.287fef1f-cgu.7.rcgu.o)
                "_PEM_read_bio_DSAPrivateKey", referenced from:
                    __libssh2_dsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_dsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_PEM_read_bio_ECPrivateKey", referenced from:
                    __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_ecdsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_PEM_read_bio_PrivateKey", referenced from:
                    __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfile in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_pub_priv_keyfilememory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_PEM_read_bio_RSAPrivateKey", referenced from:
                    __libssh2_rsa_new_private_frommemory in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    __libssh2_rsa_new_private in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RAND_bytes", referenced from:
                    __libssh2_kex_exchange in liblibssh2_sys-41a7260dd55df7e7.rlib(kex.o)
                    __libssh2_transport_send in liblibssh2_sys-41a7260dd55df7e7.rlib(transport.o)
                "_RSA_free", referenced from:
                    _hostkey_method_ssh_rsa_init in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_initPEM in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_initPEMFromMemory in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _hostkey_method_ssh_rsa_dtor in liblibssh2_sys-41a7260dd55df7e7.rlib(hostkey.o)
                    _gen_publickey_from_rsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_get0_factors", referenced from:
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_get0_key", referenced from:
                    _gen_publickey_from_rsa_evp in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_new", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_set0_crt_params", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                    _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_set0_factors", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_set0_key", referenced from:
                    __libssh2_rsa_new in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_sign", referenced from:
                    __libssh2_rsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_size", referenced from:
                    __libssh2_rsa_sha1_sign in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
                "_RSA_verify", referenced from:
                    __libssh2_rsa_sha1_verify in liblibssh2_sys-41a7260dd55df7e7.rlib(openssl.o)
              ld: symbol(s) not found for architecture arm64
              clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    opened by dtolnay 4
  • Bump supports-color from 1.3.1 to 2.0.0

    Bump supports-color from 1.3.1 to 2.0.0

    Bumps supports-color from 1.3.1 to 2.0.0.

    Changelog

    Sourced from supports-color's changelog.

    2.0.0 (2022-12-15)

    Bug Fixes

    • deps: Replace atty with is_terminal (#10) (edf565e5)
      • BREAKING CHANGE: Exported stream types are no longer atty's getting re-exported.

    Commits
    • c3ced07 (cargo-release) version 2.0.0
    • 9c0887c docs: update changelog
    • edf565e fix(deps): Replace atty with is_terminal (#10)
    • 5481a51 (cargo-release) start next development iteration 1.3.2-alpha.0
    • See full diff in compare view

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump nix from 0.25.0 to 0.26.1

    Bump nix from 0.25.0 to 0.26.1

    Bumps nix from 0.25.0 to 0.26.1.

    Changelog

    Sourced from nix's changelog.

    [0.26.1] - 2022-11-29

    Fixed

    • Fix UB with sys::socket::sockopt::SockType using SOCK_PACKET. (#1821)

    [0.26.0] - 2022-11-29

    Added

    • Added SockaddrStorage::{as_unix_addr, as_unix_addr_mut} (#1871)
    • Added MntFlags and unmount on all of the BSDs.
    • Added any() and all() to poll::PollFd. (#1877)
    • Add MntFlags and unmount on all of the BSDs. (#1849)
    • Added a Statfs::flags method. (#1849)
    • Added NSFS_MAGIC FsType on Linux and Android. (#1829)
    • Added sched_getcpu on platforms that support it. (#1825)
    • Added sched_getaffinity and sched_setaffinity on FreeBSD. (#1804)
    • Added line_discipline field to Termios on Linux, Android and Haiku (#1805)
    • Expose the memfd module on FreeBSD (memfd was added in FreeBSD 13) (#1808)
    • Added domainname field of UtsName on Android and Linux (#1817)
    • Re-export RLIM_INFINITY from libc (#1831)
    • Added syncfs(2) on Linux (#1833)
    • Added faccessat(2) on illumos (#1841)
    • Added eaccess() on FreeBSD, DragonFly and Linux (glibc and musl). (#1842)
    • Added IP_TOS SO_PRIORITY and IPV6_TCLASS sockopts for Linux (#1853)
    • Added new_unnamed and is_unnamed for UnixAddr on Linux and Android. (#1857)
    • Added SockProtocol::Raw for raw sockets (#1848)
    • added IP_MTU (IpMtu) IPPROTO_IP sockopt on Linux and Android. (#1865)

    Changed

    • The MSRV is now 1.56.1 (#1792)

    ... (truncated)

    Commits

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump bpaf from 0.7.4 to 0.7.7

    Bump bpaf from 0.7.4 to 0.7.7

    Bumps bpaf from 0.7.4 to 0.7.7.

    Changelog

    Sourced from bpaf's changelog.

    bpaf [0.7.7] - 2022-12-04

    • manpage generation

    bpaf [0.7.6] - 2022-11-29

    • fix docs.rs issues

    bpaf [0.7.5] - 2022-11-29

    • improve error messages when several conflicting options are specified
    • improve category theory docs
    • improve docs for batteries
    Commits

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • CI should look/compare generated output

    CI should look/compare generated output

    Currently CI simply runs the generation but the output was wrong on MacOS...

    The idea is to run the tests with the output as deterministic as possible and compare the output test produces with golden output stored somewhere. Ideally with as little os specific code as possible

    help wanted good first issue 
    opened by pacak 0
Owner
null
cargo-lambda a Cargo subcommand to help you work with AWS Lambda

cargo-lambda cargo-lambda is a Cargo subcommand to help you work with AWS Lambda. This subcommand compiles AWS Lambda functions natively and produces

David Calavera 184 Jan 5, 2023
cargo-lambda is a Cargo subcommand to help you work with AWS Lambda.

cargo-lambda cargo-lambda is a Cargo subcommand to help you work with AWS Lambda. The new subcommand creates a basic Rust package from a well defined

null 184 Jan 5, 2023
Cargo subcommand for optimizing binaries with PGO and BOLT.

cargo-pgo Cargo subcommand that makes it easier to use PGO and BOLT to optimize Rust binaries. Installation $ cargo install cargo-pgo You will also ne

Jakub Beránek 229 Dec 28, 2022
Cargo subcommand to easily bootstrap nocode applications. Write nothing; deploy nowhere.

cargo-nocode No code is the best way to write secure and reliable applications. Write nothing; deploy nowhere. cargo-nocode aims to bring the nocode a

Orhun Parmaksız 29 Jul 1, 2023
Removes generated and downloaded files from code projects to free up space

makeclean Removes generated and downloaded files from code projects to free up space. Features: List, cleans and archives projects depending on how lo

Kevin Bader 2 Mar 11, 2022
A collection of functions written in Triton VM assembly (tasm)

tasm-lib This repository contains a collection of functions written in Triton VM assembly (tasm). There are two big projects to be written in tasm: Th

Triton VM 2 Dec 20, 2022
Rust library to scan files and expand multi-file crates source code as a single tree

syn-file-expand This library allows you to load full source code of multi-file crates into a single syn::File. Features: Based on syn crate. Handling

Vitaly Shukela 11 Jul 27, 2022
Extracting react native app source code from apk file.

extract-myreact Extracting React Native app source code from apk file.

Aan 3 Oct 5, 2022
Demo provider, source code for the Provider tutorial.

Fiberplane "Catnip" (tutorial) provider This repository contains the final code of the provider built within the "Create a Provider" tutorial. It reli

Fiberplane 4 Feb 15, 2023
Rust+Cargo lightweight hello world with the most minimum binary size possible.

Lightweight Cargo Hello World Rust+Cargo lightweight hello world with the most minimum binary size possible. requirements 1: Rustup (Rustc, Cargo) Ins

Raymond 1 Dec 13, 2021
cargo, make me a project

cargo-generate cargo, make me a project cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveragin

null 1.2k Jan 3, 2023
Render cargo dependency tree in online

Cargo Tree Online Check out rendered page Render cargo dependency tree in online. Usage trunk serve Copy and paste the content of Cargo.lock file to

Kangwook Lee (이강욱) 2 Sep 23, 2021
Generate a THIRDPARTY file with all licenses in a cargo project.

cargo-bundle-licenses Bundle all third-party licenses into a single file. NOTE This tools is not a lawyer and no guarantee of correctness can be made

Seth 58 Jan 7, 2023
Plugin to request a relaunch when uploading a Skyline plugin through cargo skyline

restart-plugin A skyline plugin for allowing cargo-skyline (or other tools) to restart your game without you having to touch your controller. Install

null 1 Nov 21, 2021
Convenience wrapper for cargo buildscript input/output

A convenience wrapper for cargo buildscript input/output. Why? The cargo buildscript API is (necessarily) stringly-typed.

Christopher Durham 6 Sep 25, 2022
Mommy's here to support you when running cargo~

cargo-mommy Mommy's here to support you when running cargo~ ❤️ Installation Install cargo-mommy like you would any other cargo extension~ > cargo inst

Aria Beingessner 198 Jan 5, 2023
Load and resolve Cargo configuration.

cargo-config2 Load and resolve Cargo configuration. This library is intended to accurately emulate the actual behavior of Cargo configuration, for exa

Taiki Endo 6 Jan 10, 2023
Cargo-BOJ: test and submit solutions to BOJ problems

Cargo-BOJ Test and submit solutions to BOJ (Baekjoon Online Judge) problems. Defaults are geared towards Rust solutions, but non-Rust usage is support

null 5 Apr 3, 2023
Cargo wrapper for working with Webassembly wasi(x).

cargo-wasix A cargo subcommand that wraps regular cargo commands for compiling Rust code to wasix, a superset of Websassembly wasi with additional fun

WASIX 19 Jun 12, 2023