ocaml/dune

Add support for assembly language for foreign_stubs

Aperta

#3342 aperta il 8 apr 2020

 (3 commenti) (0 reazioni) (0 assegnatari)OCaml (478 fork)github user discovery
good first issue

Metriche repository

Star
 (1882 stelle)
Metriche merge PR
 (Merge medio 1g 20h) (345 PR mergiate in 30 g)

Descrizione

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.

Guida contributor