update to shadow-rs 0.5. make use easy (#2793)

* update to shadow-rs 0.4. use easy

* update shadow-rs to 0.5

* fix version not used

* update

* update Cargo.lock

* update Cargo.lock

* fix wasm build error when use dependence git2
fix error link:https://dev.azure.com/nushell/nushell/_build/results?buildId=4858&view=logs&j=1a745d4c-b027-5f34-06d8-d6f256bfe9f9&t=a0a335cb-fa1f-5bbf-be01-1a90d6899e54
This commit is contained in:
Rust大闸蟹
2020-12-24 00:56:05 +08:00
committed by GitHub
parent f22938fc4a
commit d2a00a2daa
4 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,3 @@
fn main() -> shadow_rs::SdResult<()> {
let src_path = std::env::var("CARGO_MANIFEST_DIR")?;
let out_path = std::env::var("OUT_DIR")?;
shadow_rs::Shadow::build(src_path, out_path)?;
Ok(())
shadow_rs::new()
}