Skip to content

Some environment variable (e.g., LD_PRELOAD) set via run_options don't have the desired effect. #15

Description

@stevenjswanson

This code:

with local_execution():
    alloc_run = run(alloc, "go", arg_map(size=4, count=100000000), run_options=arg_map(LD_PRELOAD=["libtcmalloc.so",""])

does not work be we currently set the environment variables inside the executor rather outside the executor.

This makes it awkward to run an experiment comparing different implementations of the malloc()/free().

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions