ocaml/dune

Add support for assembly language for foreign_stubs

开放

#3,342 创建于 2020年4月8日

 (3 条评论) (0 个反应) (0 位负责人)OCaml (478 个派生)github user discovery
good first issue

仓库指标

星标
 (1,882 个星标)
PR 合并指标
 (平均合并 1天 20小时) (30 天内合并 345 个 PR)

描述

The doc for foreign_stubs says:

language specifies the source language, where c means C and cxx means C++. In future, more languages may be supported.

It would be nice to add support for .S files too ; generally they can just be passed to the underlying C compiler just fine ; I'm not fully sure of what should be the assembly flags. I think keeping the flags as C by default should generally work.

贡献者指南