view markdown_converter/wasm/BUILD @ 168:f3084bca7317

[Misc] Fixed all errors and all tests should pass now.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 16:29:02 -0800
parents cd35e600ae34
children
line wrap: on
line source

# load("@rules_cc//cc:defs.bzl", "cc_library")
# load("@emsdk//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary")
# 
# package(default_visibility = ["//visibility:public"])
# 
# cc_library(
#   name = "hello-world",
#   srcs = ["markdown_to_html_wasm.c"],
# )
# 
# wasm_cc_binary(
#   name = "markdown_to_html_wasm",
#   cc_target = ":hello-world",
# )
# 
# # JS to link wasm with 
# filegroup(
#   name = "markdown_to_html_wasm_js",
#   srcs = glob([
#       "**/*.js",
#   ], allow_empty=True),
# )