Skip to content

Commit

Permalink
Clarify docs on writing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 9, 2024
1 parent 34256d1 commit 269b361
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_codegen_ssa/src/back/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,9 +625,9 @@ pub fn create_compressed_metadata_file_for_xcoff(
/// that contains a custom section of the name `section_name` with contents
/// `data`.
///
/// NB: the wasm file format is simple enough that for now an extra crate from
/// crates.io (such as `wasm-encoder`) isn't used at this time (nor `wasmparser`
/// for example to parse). The file format is:
/// NB: the `object` crate does not yet have support for writing the the wasm
/// object file format. The format is simple enough that for now an extra crate
/// from crates.io (such as `wasm-encoder`). The file format is:
///
/// * 4-byte header "\0asm"
/// * 4-byte version number - 1u32 in little-endian format
Expand Down

0 comments on commit 269b361

Please sign in to comment.