Skip to content

Commit 269b361

Browse files
committed
Clarify docs on writing
1 parent 34256d1 commit 269b361

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,9 @@ pub fn create_compressed_metadata_file_for_xcoff(
625625
/// that contains a custom section of the name `section_name` with contents
626626
/// `data`.
627627
///
628-
/// NB: the wasm file format is simple enough that for now an extra crate from
629-
/// crates.io (such as `wasm-encoder`) isn't used at this time (nor `wasmparser`
630-
/// for example to parse). The file format is:
628+
/// NB: the `object` crate does not yet have support for writing the the wasm
629+
/// object file format. The format is simple enough that for now an extra crate
630+
/// from crates.io (such as `wasm-encoder`). The file format is:
631631
///
632632
/// * 4-byte header "\0asm"
633633
/// * 4-byte version number - 1u32 in little-endian format

0 commit comments

Comments
 (0)