E0007: unsupported target platform

View source

meta target("...") keeps a declaration only on some platforms.

meta target("...") keeps a declaration only on some platforms. The string must be unix, posix or windows. The compiler does not know other names, such as an operating system or a CPU, and it does not guess what they mean. ADR-0089 lists the three selectors. The error points at the string.

Example

actus
meta target("linux")
verb main() {
}

Fix

Use one of the three selectors. unix covers Linux and the other Unix systems.

actus
meta target("unix")
verb main() {
}

Run actus explain E0007 in your terminal to read this entry offline. Browse Lexer & parser or all error codes.