sttc
Static binary compilation, cross-compilation.
Load with: use sttc
Quick example
use sttc
result = stati1("value", 10)
prn(result)
Functions
Compilation targets
stati()
Performs the operation.
Compilation configuration
stati1(target, options)
Performs the operation. Takes target, options.
Compile to static binary
stati2(source_path, output_path, config)
Performs the operation. Takes source_path, output_path, config.
Cross compilation
stati3(source_path, targets, output_dir)
Performs the operation. Takes source_path, targets, output_dir.
Library compilation
stati4(source_paths, output_path, config)
Performs the operation. Takes source_paths, output_path, config.
Shared library
stati5(source_path, output_path, config)
Performs the operation. Takes source_path, output_path, config.
Single file executable
stati6(source_path, output_path, options)
Performs the operation. Takes source_path, output_path, options.
stati7(source)
Performs the operation. Takes source.
Binary size optimization
stati8(source_path, output_path, target)
Performs the operation. Takes source_path, output_path, target.
Check size
stati9(path)
Performs the operation. Takes path.
stati10(paths)
Performs the operation. Takes paths.
Package for distribution
stati11(source_path, output_dir, targets)
Performs the operation. Takes source_path, output_dir, targets.
Runtime check
stati12(target)
Performs the operation. Takes target.
stati13(target)
Performs the operation. Takes target.
Prebuilt runtime
stati14(target)
Performs the operation. Takes target.
Link options
stati15(cfg)
Performs the operation. Takes cfg.
Checksums
stati16(path, algorithm)
Performs the operation. Takes path, algorithm.
stati17(path, key_path)
Performs the operation. Takes path, key_path.
Notes
- Static site generation - templates, pages, assets.