2011-07-27 16:34:39 -05:00
|
|
|
struct rust_env {
|
|
|
|
size_t num_sched_threads;
|
|
|
|
size_t min_stack_size;
|
2012-01-11 14:37:09 -06:00
|
|
|
size_t max_stack_size;
|
2011-07-27 16:34:39 -05:00
|
|
|
char* logspec;
|
|
|
|
bool check_claims;
|
|
|
|
bool detailed_leaks;
|
|
|
|
char* rust_seed;
|
2012-03-02 22:04:22 -06:00
|
|
|
bool poison_on_free;
|
2011-07-27 16:34:39 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
rust_env* load_env();
|
|
|
|
void free_env(rust_env *rust_env);
|