ForNeVeR / ForNeVeR/Cesium

Program termination on returning from `main`

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
area:compiler kind:feature status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

According to the C standard, section **5.1.2.2.3 Program termination**, the whole program should be terminated if the `main` function has exited.

We should make sure we follow this in a multi-threaded environment, and what's the current general direction other compilers/environments take in that regard.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.