mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 21:58:20 +00:00
cli: add documentation on create-{exe,obj}
This commit is contained in:
@@ -34,7 +34,12 @@ pub struct CreateExe {
|
||||
target_triple: Option<Triple>,
|
||||
|
||||
/// Object format options
|
||||
#[structopt(name = "OBJECT_FORMAT", long = "object-format")]
|
||||
///
|
||||
/// This flag accepts two options: `symbols` or `serialized`.
|
||||
/// - (default) `symbols` creates an
|
||||
/// executable where all functions and metadata of the module are regular object symbols
|
||||
/// - `serialized` creates an executable where the module is zero-copy serialized as raw data
|
||||
#[structopt(name = "OBJECT_FORMAT", long = "object-format", verbatim_doc_comment)]
|
||||
object_format: Option<ObjectFormat>,
|
||||
#[structopt(short = "m", multiple = true, number_of_values = 1)]
|
||||
cpu_features: Vec<CpuFeature>,
|
||||
|
||||
Reference in New Issue
Block a user