8000 Fix compiler when using ERL_COMPILER_OPTIONS=deterministic · Issue #762 · surface-ui/surface · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Fix compiler when using ERL_COMPILER_OPTIONS=deterministic #762
Open
@msaraiva

Description

@msaraiva

According to the Erlang docs, Using the deterministic options will:

Omit the options and source tuples in the list returned by Module:module_info(compile)

Currently, the Surface compiler uses module_info/1 to retrieve the related source file in order to generate JS hooks. Instead, we could add/retrieve this information directly to/from the beam chunks as an custom attribute so we're able to use deterministic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0