summary refs log tree commit diff
path: root/src/rt/rust_env.h
blob: 007ac9b1e0b192e201db2246f81820617438d5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#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