Skip to content

Commit

Permalink
The data-layout field is no longer required, but the os field is
Browse files Browse the repository at this point in the history
The `data-layout` field  was made optional in 958d563. The `os` field is always required.
  • Loading branch information
phil-opp committed Mar 20, 2016
1 parent 173676e commit 9532602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_back/target/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//! this module defines the format the JSON file should take, though each
//! underscore in the field names should be replaced with a hyphen (`-`) in the
//! JSON file. Some fields are required in every target specification, such as
//! `data-layout`, `llvm-target`, `target-endian`, `target-pointer-width`, and
//! `arch`. In general, options passed to rustc with `-C` override the target's
//! `llvm-target`, `target-endian`, `target-pointer-width`, `arch`, and
//! `os`. In general, options passed to rustc with `-C` override the target's
//! settings, though `target-feature` and `link-args` will *add* to the list
//! specified by the target, rather than replace.
Expand Down

0 comments on commit 9532602

Please sign in to comment.