---
title: "Rule 11.3: Targets and the oracle, a TypeShade design rule"
description: "Rule 11.3 of the TypeShade language design, in Targets and the oracle."
url: https://typeshade.dev/reference/rules/11-3/
language: en
---

# Rule 11.3

Chapter 11, Targets and the oracle Test

Every registered example must compile on Tint and, where the module has a GLSL row for each capability it needs, on a WebGL2 driver; an example that is WGSL-only says so with `renderable: false` and a stated reason.

The rule text and the parts under it are the compiler's own English, as the design document writes them.

## Rationale

an instrument that cannot fail cannot pass, which is why the gate feeds each compiler a broken shader first.

## Derives from

`scripts/compile-gate.ts`; `AGENTS.md`.

## How it is verified

Checked by a test. A test, a gate script or a CI workflow names this rule, and the traceability check fails when a file listed below stops naming it.

Where the rule says the compiler enforces it:

`bun run gate:compile`, run in CI.

The files that verify it at commit af54ddad5, each at the first line that names the rule:

- [`scripts/compile-gate.ts:172`](https://github.com/typeshade/typeshade/blob/af54ddad5/scripts/compile-gate.ts#L172)

## See also

- [Rule 11.2](https://typeshade.dev/reference/rules/11-2/) Test
- [Rule 11.4](https://typeshade.dev/reference/rules/11-4/) Test
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

- [`docs/language-design.md:1458`](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/language-design.md#L1458) (the design document)
- [`reqs/rules/RULE-1103.md`](https://github.com/typeshade/typeshade/blob/af54ddad5/reqs/rules/RULE-1103.md) (its traceability item)
