From 4bad669bbc5ec3ff77321f083c59cde87eb10229 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:14:22 -0700 Subject: Replace stdlib on Slang API with CoreModule (#5405) This is a breaking change in a way that the Slang API function names are changed. All of them are commented as "experimental" and we wouldn't provide a back-ward compatibility for them. Following functions are renamed: compileStdLib() -> compileCoreModule() loadStdLib() -> loadCoreModule() saveStdLib() -> saveCoreModule() slang_createGlobalSessionWithoutStdLib() -> slang_createGlobalSessionWithoutCoreModule() slang_getEmbeddedStdLib() -> slang_getEmbeddedCoreModule() hasDeferredStdLib() -> hasDeferredCoreModule() Following command-line arguments are renamed: "-load-stdlib" -> "-load-core-module" "-save-stdlib" -> "-save-core-module" "-save-stdlib-bin-source" -> "-save-core-module-bin-source" "-compile-stdlib" -> "-compile-core-module" --- docs/doc-system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc-system.md') diff --git a/docs/doc-system.md b/docs/doc-system.md index 56635e4ed..1eb55f817 100644 --- a/docs/doc-system.md +++ b/docs/doc-system.md @@ -88,7 +88,7 @@ Currently the only documentation style supported is a single file 'markdown' out It is possible to generate documentation for Slangs internal `stdlib`. This can be achieved with `slangc` via ``` -slangc -doc -compile-stdlib +slangc -doc -compile-core-module ``` The documentation will be written to a file `stdlib-doc.md`. -- cgit v1.2.3