You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: enclave.rs
    path of file: ./repos/incubator-teaclave-sgx-sdk/sgx_trts/src
    
    the code of the file until where you have to start completion: // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// d
    
pub fn rsgx_get_tcs_max_num() -> u32 {
    unsafe {
        if EDMM_supported != 0 {
            g_global_data.tcs_max_num as u32
        } else {
            g_global_data.tcs_num as u32
        }
    }
}