mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Improve open source compatibility
This change tunes the default stack size for the outside world to 8mb while at the same time, reducing Cosmopolitan's default stack size to 64kb. You can override the stack size using STATIC_STACK_SIZE(). Your build scripts should point to o//ape/public/ape.lds This change also fixes the definition of SOMAXCONN and removes AF_RDS since it's not polyfilled and Python 3.11 complained.
This commit is contained in:
parent
0e2b1bfeed
commit
b73e35c6fa
13 changed files with 50 additions and 26 deletions
1
third_party/python/Lib/socket.py
vendored
1
third_party/python/Lib/socket.py
vendored
|
@ -769,7 +769,6 @@ if __name__ == 'PYOBJ.COM':
|
|||
AF_NETROM = 0
|
||||
AF_PACKET = 0
|
||||
AF_PPPOX = 0
|
||||
AF_RDS = 0
|
||||
AF_ROSE = 0
|
||||
AF_ROUTE = 0
|
||||
AF_SECURITY = 0
|
||||
|
|
1
third_party/python/Lib/test/test_socket.py
vendored
1
third_party/python/Lib/test/test_socket.py
vendored
|
@ -1696,7 +1696,6 @@ class CANTest(ThreadedCANSocketTest):
|
|||
class BasicRDSTest(unittest.TestCase):
|
||||
|
||||
def testCrucialConstants(self):
|
||||
socket.AF_RDS
|
||||
socket.PF_RDS
|
||||
|
||||
def testCreateSocket(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue