code: def invocation_environment_dict(self):
      
      lib_env_var = self._platform.resolve_for_enum_variant({
        'darwin': 'DYLD_LIBRARY_PATH',
        'linux': 'LD_LIBRARY_PATH',
      })
      return {
        'PATH': create_path_env_var(self.path_entries),
        lib_env_var: create_path_env_var(self.runtime_library_dirs),
      }
docs: A dict to use as this _Executable's execution environment.
  
      This isn't made into an "algebraic" field because its contents (the keys of the dict) are
      generally known to the specific class which is overriding this property. Implementations of this
      property can then make use of the data in the algebraic fields to populate this dict.
  
      :rtype: dict of string -> string