near / cargo-near

Cargo extension for building Rust smart contracts on NEAR
Apache License 2.0
33 stars 16 forks source link

chore: decouple cargo-near from rustup #146

Closed dndll closed 4 months ago

dndll commented 4 months ago

I've been patching this locally for a while and never got around to it, this should save some headache for nixos users.

Basically taken from https://github.com/rustwasm/wasm-pack/blob/32aaecfb9be36dd741de96fb8230ad8b2579dca4/src/build/wasm_target.rs#L69

Tested just now, works well for me on nix.

frol commented 4 months ago

@dndll Can you try 0.6.2 release? This PR is already included there

dndll commented 4 months ago

@dndll Can you try 0.6.2 release? This PR is already included there

Looks like theres an issue with the clap macro, getting https://github.com/near/cargo-near/issues/141