diff options
| author | bors <bors@rust-lang.org> | 2020-09-22 13:02:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-22 13:02:02 +0000 |
| commit | e0bc267512fc0cb49c86978192857e8187017f0b (patch) | |
| tree | f81490c021e11fb3dc7ecf55104fa9f6519d8ef2 /compiler/rustc_codegen_llvm/src | |
| parent | cbc5e4d4d5715cfe111def11bbd1d8afae2ea80e (diff) | |
| parent | 2f5192280f57ab859a2414ff2e9b6f6398d3feb7 (diff) | |
| download | rust-e0bc267512fc0cb49c86978192857e8187017f0b.tar.gz rust-e0bc267512fc0cb49c86978192857e8187017f0b.zip | |
Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplett
Function to convert OpenOptions to c_int Fixes: #74943 The creation_mode and access_mode function were already available in the OpenOptions struct, but currently private. I've added a new free functions to unix/fs.rs which takes the OpenOptions, and returns the c_int to be used as parameter for the `open` call.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
