Skip to content

Commit fbc341d

Browse files
authored
[docs] Add warning for os.hostarch
1 parent 903b3aa commit fbc341d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/docs/os/os.hostarch.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ None.
1212

1313
An architecture identifier; see [architecture()](architecture.md) for a complete list of identifiers.
1414

15-
Note that this function returns the architecture for the OS that Premake is currently running on, which is not necessarily the same as the architecture that Premake is generating files for.
15+
:::warning
16+
Currently, this function actually returns the architecture of the system that Premake was compiled for. This means that if you run the Win32 version of Premake on a 64-bit Windows system, this function will return 'x86' instead of 'x86_64'.
17+
:::
1618

1719
### Availability ###
1820

0 commit comments

Comments
 (0)