Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace builtin package with fluxinit/static (#3304) #19909

Merged
merged 1 commit into from Nov 6, 2020

Commits on Nov 5, 2020

  1. refactor: replace builtin package with fluxinit/static (#3304)

    A static initialization is not desirable in the main binaries, as it forces all
    paths of code to init, but it is still useful in tests. It allows static
    intialization to be performed once for all tests and eliminates the need to
    always add the FluxInit call. Added a fluxinit/static package that calls
    fluxinit.FluxInit() to replace the builtin package. This hides the nature of
    the initialization and makes it clear that it is mandatory initialization code
    getting called.
    adrian-thurston committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    a6adfa0 View commit details
    Browse the repository at this point in the history