mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Extensive runtime refactor to reduce generated executable sizes
This commit is contained in:
parent
4e750a7e1a
commit
ddd9b1b218
74 changed files with 2514 additions and 717 deletions
8
IDE/Tests/Tiny/BeefProj.toml
Normal file
8
IDE/Tests/Tiny/BeefProj.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
FileVersion = 1
|
||||
|
||||
[Project]
|
||||
Name = "Tiny"
|
||||
StartupObject = "Tiny.Program"
|
||||
|
||||
[Configs.Release.Win64]
|
||||
CLibType = "SystemMSVCRT"
|
26
IDE/Tests/Tiny/BeefSpace.toml
Normal file
26
IDE/Tests/Tiny/BeefSpace.toml
Normal file
|
@ -0,0 +1,26 @@
|
|||
FileVersion = 1
|
||||
Projects = {Tiny = {Path = "."}}
|
||||
Unlocked = ["corlib"]
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "Tiny"
|
||||
|
||||
[Configs.Debug.Win64]
|
||||
AllocType = "CRT"
|
||||
RuntimeKind = "Reduced"
|
||||
ReflectKind = "Minimal"
|
||||
RuntimeChecks = false
|
||||
EmitDynamicCastCheck = false
|
||||
EnableObjectDebugFlags = false
|
||||
EmitObjectAccessCheck = false
|
||||
EnableRealtimeLeakCheck = false
|
||||
AllowHotSwapping = false
|
||||
IntermediateType = "ObjectAndIRCode"
|
||||
|
||||
[Configs.Debug.Win32]
|
||||
RuntimeKind = "Reduced"
|
||||
ReflectKind = "Minimal"
|
||||
|
||||
[Configs.Release.Win64]
|
||||
RuntimeKind = "Reduced"
|
||||
ReflectKind = "Minimal"
|
13
IDE/Tests/Tiny/src/Program.bf
Normal file
13
IDE/Tests/Tiny/src/Program.bf
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Tiny;
|
||||
|
||||
class Program
|
||||
{
|
||||
public static int Main()
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue