8000 `system.platform` to find if the system is running win32, linux, or macos · Issue #193 · luau-lang/lute · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

system.platform to find if the system is running win32, linux, or macos #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ffrostfall opened this issue Apr 23, 2025 · 3 comments
Closed
Labels
runtime Work in the C++ runtime portion of the code std Work in the Luau standard library portion of the code

Comments

@ffrostfall
Copy link
Contributor
ffrostfall commented Apr 23, 2025

These would be compile time definitions, not dynamically fetched. Would solve the whole string.find(string.lower(system.os), "windows")

@aatxe
Copy link
Collaborator
aatxe commented Apr 23, 2025

Why would these be compile-time instead of dynamic? What problem does that solve? Why isn't this just luau code that answers this stuff in @std?

@aatxe aatxe added runtime Work in the C++ runtime portion of the code std Work in the Luau standard library portion of the code labels Apr 23, 2025
@aatxe
Copy link
Collaborator
aatxe commented Apr 23, 2025

Related #167

@ffrostfall
Copy link
Contributor Author

Why would these be compile-time instead of dynamic? What problem does that solve? Why isn't this just luau code that answers this stuff in @std?

Sorry, I forgot I made that previous issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runtime Work in the C++ runtime portion of the code std Work in the Luau standard library portion of the code
Development

No branches or pull requests

2 participants
0