Fix doc, threads are enabled by default now (#3665)

* Fix doc, threads are enabled by default now

* Do not remove enable-thread, just mark at as deprecated
This commit is contained in:
ptitSeb
2023-03-08 13:08:19 +01:00
committed by GitHub
parent 041c2116d2
commit ed3895b539
3 changed files with 12 additions and 5 deletions

View File

@@ -13,9 +13,13 @@ pub struct WasmFeatures {
#[clap(long = "enable-simd")]
pub simd: bool,
/// Enable support for the threads proposal.
/// Disable support for the threads proposal.
#[clap(long = "disable-threads")]
pub disable_threads: bool,
/// Deprecated, threads are enabled by default.
#[clap(long = "enable-threads")]
pub threads: bool,
pub _threads: bool,
/// Enable support for the reference types proposal.
#[clap(long = "enable-reference-types")]