Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to use SDK with build target `wasm32-wasip1` & `wasm32-wasip2`

オープン
#28 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust, wasm
領域
build-system

調査の方向性

Cargo.toml、特に issue で参照されている reqwest の blocking feature から始め、wasm32-wasip1 または wasm32-wasip2 向けのリンクされた最小再現を構築します。non-blocking client が実用可能かどうかを判断します。完了とは、SDK が対象向けにビルドできるか、またはそのドキュメントに wasm がサポート対象外であることが明確に記録されていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Description

Attempting to include the flagsmith crate in a project that has a build target of wasm32-wasip1 (or wasm32-wasip2), will cause the build to fail.

Version Information

  • flagsmith = "~2.0.0"

Reproduction

Cause

flagsmith makes use of the blocking feature of the reqwest crate, as seen here. reqwest cannot be compiled with the blocking feature enabled in async environments (see reqwest issue #891), this means flagsmith cannot be used when targeting wasm32-wasip1.

Desired Outcome

I am admittedly unaware of how important the use of reqwest::blocking is for the flagsmith crate, or if it could be updated to use the non-blocking reqwest client - however that would be the best case scenario.

If that is not possible, adding something to the documentation of flagsmith stating that it cannot be built to target wasm would possibly help someone some time in the future if they are attempting to make use of flagsmith while targeting wasm.

主要言語
Rust
スター
8
フォーク
8
平均マージ
20時間 41分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Flagsmith/flagsmith-rust-client のほかの issue

Flagsmith/flagsmith-rust-client の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。