ocaml/dune

Add support for assembly language for foreign_stubs

Aberta

#3.342 aberto em 8 de abr. de 2020

 (3 comentários) (0 reação) (0 responsável)OCaml (478 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (1.882 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 20h) (345 fundiu PRs em 30d)

Description

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.

Guia do colaborador