2.3.2 anvl_erlc/profile

Default profile used by eligible Erlang-related targets

NOTE: this profile is also used for the runtime/compile-time BEAM dependencies, such as parse transforms and behavior definitions, even for the code compiled in a different profile.

While ANVL can build code with multiple profiles simultaneously, it can load only one version of the code. This limitation stems from the BEAM VM.

For example, anvl @erlc -p test foo will use parse transforms compiled with the default profile to build foo and its dependencies, and, conversely, anvl --erlc-profile test @erlc -p default foo will compile foo using parse transforms compiled with the test profile.

Changing this parameter re-builds the relevant code.

Type

anvl_erlc:profile() when
  anvl_erlc:profile() :: atom().

Default value

default

See cli_param/anvl_erlc/profile

See os_env/anvl_erlc/profile

JavaScript license information