(env (static (flags (:standard -ccopt -static)))) (rule (target platform.ml) (enabled_if (= %{os_type} Win32)) (action (copy platform_windows.ml platform.ml))) (rule (target platform.ml) (enabled_if (<> %{os_type} Win32)) (action (copy platform_unix.ml platform.ml))) (rule (target build_platform.ml) (action (with-stdout-to %{target} (progn (echo "let system = \"%{system}\"\n") (echo "let architecture = \"%{architecture}\"\n"))))) (library (name build_system) (wrapped true) (modules string_util strict_json source_filter cli config_types config_decode config project_context package_resolution package_traversal platform_common platform termination_signals traversal_coverage process_child build_trace process source package_plan graph module_graph package_diagnostics package_graph compiler_args compiler_args_command compiler_log ast_header compiler_execution_mode parallel compiler_process compiler_scheduler after_build file_util build_lock build_artifacts build_freshness build_session build_attempt build_report build_preparation package_parse package_compilation package_build clean compile_assets build_state native_watcher watch_scope watch_snapshot watcher build_platform toolchain compiler_info source_dirs warning_state output build format) (libraries unix threads yojson str spawn cmdliner luv re.perl driver rescript_version) (foreign_stubs (language c) (names windows_job_stubs))) (executable (name rescript) (modules rescript) (flags (:standard -open Build_system)) (libraries build_system))