Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 1.53 KB

File metadata and controls

38 lines (19 loc) · 1.53 KB

logo

The Thrust Compiler

standard-separator

This is an example of the type of compiler diagnostics you can find in thrustc:

These can be displayed in color using --enable-ansi-color, which is off by default.

For example:

Errors

Type Mismatch

Value Without Address

Warnings

Unknown Call Convention

Attribute Conflict

These are some examples of diagnostics that you can find in Thrust and that will be useful when using the language.

In the future, you'll be able to understand it better using thrustc --explain W0004 or thrustc --explain E0007, which will explain in detail why this issue exists in the code.

However, at the time of writing, it is not fully implemented for production.