157 lines
1.9 KiB
Markdown
157 lines
1.9 KiB
Markdown
# Exemples / DO-DON'T — Chapitre 40 — Targets, plateformes, architectures, ABI, distributions et capabilities
|
|
|
|
> Document compagnon non normatif tant qu'une règle n'est pas explicitement référencée comme normative par le chapitre.
|
|
|
|
## Exemples actuellement présents dans le chapitre
|
|
|
|
### Exemple 1
|
|
|
|
```text
|
|
TargetFamily
|
|
Platform
|
|
Architecture
|
|
ABI
|
|
Distribution
|
|
Capability
|
|
Feature
|
|
ArtifactKind
|
|
ExportFormat
|
|
```
|
|
|
|
### Exemple 2
|
|
|
|
```text
|
|
Endianness
|
|
PackageType
|
|
Linkage
|
|
Deployment
|
|
```
|
|
|
|
### Exemple 3
|
|
|
|
```text
|
|
Platform
|
|
Architecture
|
|
ABI
|
|
Distribution
|
|
Capability
|
|
ArtifactKind
|
|
ExportFormat
|
|
```
|
|
|
|
### Exemple 4
|
|
|
|
```text
|
|
Platform::Linux
|
|
Platform::Windows
|
|
Architecture::X86_64
|
|
Architecture::AArch64
|
|
ABI::Gnu
|
|
Distribution::Debian
|
|
Capability::FileSystem
|
|
ArtifactKind::NativeExecutable
|
|
```
|
|
|
|
### Exemple 5
|
|
|
|
```text
|
|
Native
|
|
Embedded
|
|
```
|
|
|
|
### Exemple 6
|
|
|
|
```text
|
|
Browser
|
|
Wasm
|
|
Jvm
|
|
JavaScript
|
|
```
|
|
|
|
### Exemple 7
|
|
|
|
```text
|
|
Linux
|
|
Windows
|
|
MacOS
|
|
FreeBSD
|
|
Android
|
|
iOS
|
|
None
|
|
```
|
|
|
|
### Exemple 8
|
|
|
|
```text
|
|
X86
|
|
X86_64
|
|
Arm
|
|
AArch64
|
|
RiscV32
|
|
RiscV64
|
|
Wasm32
|
|
```
|
|
|
|
### Exemple 9
|
|
|
|
```text
|
|
Gnu
|
|
Musl
|
|
Msvc
|
|
Darwin
|
|
Eabi
|
|
Eabihf
|
|
None
|
|
```
|
|
|
|
### Exemple 10
|
|
|
|
```text
|
|
Debian
|
|
Ubuntu
|
|
Rhel
|
|
Fedora
|
|
Arch
|
|
Alpine
|
|
```
|
|
|
|
### Exemple 11
|
|
|
|
```text
|
|
résoudre/découvrir des dépendances système ;
|
|
exprimer des contraintes d'environnement de distribution ;
|
|
produire des packages/export formats spécifiques.
|
|
```
|
|
|
|
### Exemple 12
|
|
|
|
```text
|
|
Heap
|
|
FileSystem
|
|
Environment
|
|
Process
|
|
Threads
|
|
Network
|
|
Sockets
|
|
Clock
|
|
DynamicLoading
|
|
SharedMemory
|
|
StandardInput
|
|
StandardOutput
|
|
StandardError
|
|
```
|
|
|
|
### Exemple 13
|
|
|
|
```text
|
|
TargetFamily
|
|
Platform
|
|
Architecture
|
|
ABI
|
|
Distribution
|
|
```
|
|
|
|
## DO / DON'T / WHY / compiler error / edge cases
|
|
|
|
La couverture structurée de cette section sera enrichie au fur et à mesure de la fermeture des règles du chapitre. La migration `0.2.12` conserve volontairement les exemples historiques dans le chapitre afin de ne perdre aucun contexte normatif.
|