Skip to content

Commit

Permalink
feat - statically link vcruntime
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblefrog committed Jul 12, 2021
1 parent f72972a commit 3106aa2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
9 changes: 8 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-fetch"
version = "0.6.8"
version = "0.6.9"
authors = ["rumblefrog <[email protected]>"]
edition = "2018"

Expand All @@ -10,6 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
bytes = "1"
futures-retry = "0.6"
static_vcruntime = "1"

[dependencies.tokio]
version = "1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rust-fetch",
"version": "0.6.8",
"version": "0.6.9",
"description": "Rust HTTP wrapper for JS",
"main": "dist/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion release_build.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.8
0.6.9
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
extern crate static_vcruntime;

use neon::prelude::*;

mod builder;
Expand Down

0 comments on commit 3106aa2

Please sign in to comment.