Skip to content

Commit e6a8fcc

Browse files
authored
Merge pull request #58 from ehuss/guideline-targets
Add a guideline for target-specific behavior.
2 parents 9f01db4 + 749ab92 commit e6a8fcc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/authoring.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,15 @@ Admonitions use a style similar to GitHub-flavored markdown, where the style nam
6565
```
6666

6767
All this does is apply a CSS class to the blockquote. You should define the color or style of the rule in the `css/custom.css` file if it isn't already defined.
68+
69+
## Content guidelines
70+
71+
The following are guidelines for the content of the spec.
72+
73+
### Targets
74+
75+
The spec does not document which targets exist, or the properties of specific targets. The spec may refer to *platforms* or *target properties* where required by the language. Some examples:
76+
77+
* Conditional-compilation keys like `target_os` are specified to exist, but not what their values must be.
78+
* The `windows_subsystem` attribute specifies that it only works on Windows platforms.
79+
* Inline assembly and the `target_feature` attribute specify the architectures that are supported.

0 commit comments

Comments
 (0)