rust/src/rt/rust_env.h

22 lines
351 B
C
Raw Normal View History

#ifndef RUST_ENV_H
#define RUST_ENV_H
#include "rust_globals.h"
struct rust_env {
size_t num_sched_threads;
size_t min_stack_size;
size_t max_stack_size;
char* logspec;
bool check_claims;
bool detailed_leaks;
char* rust_seed;
bool poison_on_free;
};
rust_env* load_env();
void free_env(rust_env *rust_env);
#endif