code: def get_standalone_crt_dir() -> str:
      """Find the standalone_crt directory.
  
      Though the C runtime source lives in the tvm tree, it is intended to be distributed with any
      binary build of TVM. This source tree is intended to be integrated into user projects to run
      models targeted with --runtime=c.
  
      Returns
      -------
      str :
          The path to the standalone_crt
      """
      global STANDALONE_CRT_DIR
      if STANDALONE_CRT_DIR is None:
          for path in libinfo.find_lib_path():
              crt_path = os.path.join(
                  os.path.dirname(path), "standalone_crt"
              )
              if os.path.isdir(crt_path):
                  STANDALONE_CRT_DIR = crt_path
                  break
  
          else:
              raise CrtNotFoundError()
  
      return STANDALONE_CRT_DIR
  
imports: import json
  import logging
  import os
  import contextlib
  import enum
  from pathlib import Path
  import shutil
  from typing import Union
  from .._ffi import libinfo
  from ..None import rpc
label_desc: Use image node_id 1 for calling a global function with example usage: get_standalone_crt_dir() and returns: STANDALONE_CRT_DIR