We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 778611c commit acd17edCopy full SHA for acd17ed
.github/workflows/ci.yml
@@ -73,6 +73,8 @@ jobs:
73
path: target
74
key: check-wasm32-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
75
- run: cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features --features js
76
+ env:
77
+ RUSTFLAGS: --cfg getrandom_backend="wasm_js"
78
79
test:
80
name: test
postgres-protocol/Cargo.toml
@@ -10,7 +10,7 @@ readme = "../README.md"
10
11
[features]
12
default = []
13
-js = ["getrandom/js"]
+js = ["getrandom/wasm_js"]
14
15
[dependencies]
16
base64 = "0.22"
0 commit comments