Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ A string slice is the most primitive string type in Rust, written as `str`. It i

Strings slices are always valid UTF-8.

### Target

A *target* is the platform that the compiler produces code for: the combination of CPU architecture, operating system, and ABI that the compiled program will run on, usually identified by a target triple such as `x86_64-unknown-linux-gnu`.

Several parts of the language are defined in terms of the target rather than in absolute terms, such as the size of `usize`, or the values of the `target_*` [conditional compilation] keys. The reference documents those properties as properties of the target, but it does not document which targets exist, nor the properties of any particular target.

[conditional compilation]: conditional-compilation.md

@DanielEScherzer DanielEScherzer Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put this at the bottom of the file with the other link definitions

View changes since the review


### Trait

A trait is a language item that is used for describing the functionalities a type must provide. It allows a type to make certain promises about its behavior.
Expand Down
Loading