Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f19bb9

Browse files
committed
clean up wasm32 test
1 parent852869d commit6f19bb9

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,8 @@ jobs:
7171
-uses:actions/cache@v3
7272
with:
7373
path:target
74-
key:clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
75-
-run:|
76-
# Hack: wasm support currently relies on not having tokio with features like socket enabled. With resolver 1
77-
# dev dependencies can add unwanted dependencies to the build, so we'll hackily disable them for this check.
78-
79-
sed -i 's/\[dev-dependencies]/[ignore-dependencies]/g' ./tokio-postgres/Cargo.toml
80-
cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features --features js
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
8176

8277
test:
8378
name:test

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ members = [
1010
"postgres-types",
1111
"tokio-postgres",
1212
]
13+
resolver ="2"
1314

1415
[profile.release]
1516
debug =2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp