class VM
ErrorsCollection

class VM

Raku Virtual Machine related information

class VM does Systemic { }

Built-in class for providing information about the virtual machine in which Raku is running. Usually accessed through the $*VM dynamic variable.

Methods

method osname

multi method osname(VM:U:)
multi method osname(VM:D:)

Instance / Class method returning the name of the Operating System, as known by the configuration of the VM object / currently running virtual machine.

method precomp-ext

Instance method returning a string of the extension that should be used for precompiled files of the VM object.

method precomp-target

Instance method returning a string of the value of the compilation target that should be used when precompiling source-files with the VM object.

method prefix

Instance method returning a string of the path in which the virtual machine of the VM object is installed.