code: def build(setup_kwargs):
      """
      This function is mandatory in order to build the extensions.
      """
      setup_kwargs.update(
          {
              "ext_modules": ext_modules,
              "cmdclass": {"build_ext": ExtBuilder},
              "rust_extensions": rust_extensions,
              "zip_safe": False,
              "include_package_data": True,
          }
      )
  
file_path: river/build.py
imports: import platform
  from distutils.command.build_ext import build_ext
  from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
  import setuptools
  from setuptools_rust import Binding, RustExtension
label_desc: Use image node_id 1 for calling a global function with example usage: build(setup_kwargs) without return types