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.

貢獻者指南