about summary refs log tree commit diff
path: root/src/test/run-pass/native2.rs
AgeCommit message (Collapse)AuthorLines
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-27/+0
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-1/+2
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-02-11rewrite to use ctypes typesNiko Matsakis-1/+1
2011-12-16implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵Graham Fawcett-4/+4
empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
2011-11-16Use attributes for native module ABI and link nameHaitao Li-5/+14
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-09Add "cdecl" as synonym for "c-stack-cdecl"Brian Anderson-5/+5
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-3/+3
2011-10-24move uses of rust ABI in tests to cdecl or c-stack-cdecl as apprNiko Matsakis-2/+2
Note: I found a bug in c-stack-cdecl which codes not permit such native functions to be used as values. I added an xfail-test (c-stack-as-value) documenting it.
2011-09-02Reformat. Issue #855Brian Anderson-1/+1
2011-09-01Remove some uses of str_buf builtin. Issue #855Brian Anderson-2/+1
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Convert most main functions to the ivec signatureBrian Anderson-1/+1
Converting rustc will still take a snapshot
2011-08-12Remove all usages of std::vec::vbufBrian Anderson-3/+3
2011-07-27Reformat for new syntaxMarijn Haverbeke-3/+3
2011-06-28Use "" in the native_name as an indication that no extra options have toRafael Ávila de Espíndola-4/+4
be passed to the "linker". Use that for libc.
2011-06-27Record and link with used native libraries.Rafael Ávila de Espíndola-4/+4
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-9/+7
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-1/+1
This should be a snapshot transition.
2011-02-23Parse the abi in native modules.Rafael Ávila de Espíndola-0/+9
2011-02-07Add support forRafael Avila de Espindola-0/+4
native mod foo = "bar" ...
2011-02-04Parse function declarations.Rafael Ávila de Espíndola-0/+1
2011-02-02Add most of the plumbing for native items and add support for parsing native ↵Rafael Ávila de Espíndola-0/+1
type declarations.
2011-02-01Add very minimal support for native modules. For now they must be empty.Rafael Ávila de Espíndola-0/+5