Skip to content

Commit 5aa4423

Browse files
committed
Update entry_point.cpp
1 parent 663881f commit 5aa4423

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

entry_point.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,10 @@ int module_open() {
266266
Interstellar::Debug::api();
267267
Interstellar::Table::api();
268268
Interstellar::Math::api();
269-
Interstellar::OS::api();
269+
if (Interstellar::OS::ARGV::exists("os")) {
270+
Interstellar::OS::api();
271+
std::cout << "[WARNING] Interstellar has os.* enabled, you have been warned." << std::endl;
272+
}
270273

271274
// Extensions
272275
if (Interstellar::OS::ARGV::exists("fs")) {

0 commit comments

Comments
 (0)