Closed matthiaskrgr closed 6 years ago
meta:
rustc 1.25.0-nightly (27a046e93 2018-02-18)
binary: rustc
commit-hash: 27a046e9338fb0455c33b13e8fe28da78212dedc
commit-date: 2018-02-18
host: x86_64-unknown-linux-gnu
release: 1.25.0-nightly
LLVM version: 6.0
Can reproduce :)
Will publish a new version once build bots run, but that commit should have fixed this. Thanks for the report :)
Hmm :/
./target/debug/cargo-asm asm lib_crate::bar::double_n --rust
[ERROR]: could not find function at path "lib_crate::bar::double_n" in the generated assembly.
Maybe you meant one of the following functions?
<alloc::raw_vec::RawVec<T, A>>::double
syn::lit::parsing::boolean
Otherwise make sure that the function is present in the final binary (e.g. if it's a generic function, make sure that it is actually monomorphized) or try to do a --clean build (sometimes changes are not picked up).
That's correct. You are calling cargo-asm on the cargo-asm crate, which does not contain a double_n
function. You might want to try that in the cargo-asm/cargo-asm-test/lib_crate
.
I am going to word the readme a bit differently.
So i've worded the readme differently. Let me know if it's more clear now :) And thanks for trying this out! You are the first non-me user :D
I got it working now, thanks you! :)
what I did:
=>