---
title: "U3032: A `simd required` clause outside a `systems` package of edition `0.5`"
url: https://una-lang.org/en/docs/errors/U3032/
release: v0.4.0
source: https://github.com/una-lang/una/blob/v0.4.0/crates/una-explain/explain/U3032.md
---

# U3032: A `simd required` clause outside a `systems` package of edition `0.5`

Not reported by 0.4.0: reserved for the `simd required` clause, which this release does not read.

## Why Una rejects it

The `simd required` clause of ADR 0120 rule 58, `simd required target neon, avx2` after a function's `ensures` clauses, requires that the function's loops use the processor's vector instructions. It is legal only in a package of edition `0.5` (preview) whose profile is `systems` (ADR 0109 rules 1 and 5): a construct that only `systems` may use. Anywhere else, in an `app` package, in a single file or in an earlier edition, it is U3032.

The clause lands with its slice of ADR 0120. Until then the release reads no `simd required` clause, so no program reports U3032, and this text has no example of its own.

## How to fix it

- The repair is to declare the profile in the package's `ita.una`, with the head line `profile systems`, and the run's memory budget with the `run` line `max_memory`, which a `systems` package with an entry declares.
- Or remove the clause: without it the same loops keep their meaning, and the runtime may still vectorize them.
